Exec en langage C
Résolu/Fermé
stekut
-
23 juin 2005 à 15:24
mamiemando Messages postés 33077 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 18 avril 2024 - 19 févr. 2007 à 20:09
mamiemando Messages postés 33077 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 18 avril 2024 - 19 févr. 2007 à 20:09
4 réponses
mamiemando
Messages postés
33077
Date d'inscription
jeudi 12 mai 2005
Statut
Modérateur
Dernière intervention
18 avril 2024
7 748
19 févr. 2007 à 20:09
19 févr. 2007 à 20:09
Un exemple ici (il suffit de chercher un peu sur google)
https://www.developpez.net/forums/d264/c-cpp/c/execl-rend-main/
Bonne chance
https://www.developpez.net/forums/d264/c-cpp/c/execl-rend-main/
Bonne chance
Char Snipeur
Messages postés
9696
Date d'inscription
vendredi 23 avril 2004
Statut
Contributeur
Dernière intervention
3 octobre 2023
1 297
23 juin 2005 à 16:54
23 juin 2005 à 16:54
va voir la :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/html/_crt__execlpe.2c_._wexeclpe.asp
c'est pas mal expliquer.
grossos modo tu doit avoir :
execl("snmpgetnext","snmpgetnext","-c","comminity","IPadress","OID",NULL);
ala!
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/html/_crt__execlpe.2c_._wexeclpe.asp
c'est pas mal expliquer.
grossos modo tu doit avoir :
execl("snmpgetnext","snmpgetnext","-c","comminity","IPadress","OID",NULL);
ala!
mamiemando
Messages postés
33077
Date d'inscription
jeudi 12 mai 2005
Statut
Modérateur
Dernière intervention
18 avril 2024
7 748
23 juin 2005 à 21:52
23 juin 2005 à 21:52
man execvp
Si tu n'as pas linux, tape man execvp dans google. C'est la focntion qu'il te faut.
Bonne chance
Si tu n'as pas linux, tape man execvp dans google. C'est la focntion qu'il te faut.
Bonne chance