J'ai un programme en python qui lance une commande shell (rsync .....)
Mais le shell me demande le password !
Comment ajouter un argument dans ma commande shell ?
Merci
Publicité
Posté le 19-10-2004 à 15:12:04
SomeBugsInMe
life suxx
Posté le 19-10-2004 à 20:10:48
tu utilises quoi pour exécuter ta commande ?
si c'est os.system(), bah tu ajoutes tes arguments comme si tu les entrais dans un shell.
Message édité par masklinn le 02-11-2004 à 20:26:05
---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?