Hartmut Goebel <[email protected]> wrote:
> Hi,
>> def syscall(*cmd):
>>    cmd = ['cmd','/d','/c']+list(cmd)
>>    subprocess.call(cmd)
> 
> Ich habe keine Ahnung von Windows, wunder mich aber, weshalb Du cmd /d 
> /c davor stellst. Ich hätte vermutet, dass Python sich selbst darum 
> kümmert, wenn es nötig wäre.

Ohne das wird autoexec.bat fuer jeden Befehl ausgefuehrt.
Das entspricht /etc/profile

-- 
Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart         E-Mail: [email protected]
Allmandring 30a                Tel:    ++49-711-68565868
70569 Stuttgart (Germany)      WWW:    https://www.tik.uni-stuttgart.de/
_______________________________________________
python-de Mailingliste -- [email protected]
Zur Abmeldung von dieser Mailingliste senden Sie eine Nachricht an 
[email protected]
https://mail.python.org/mailman3/lists/python-de.python.org/
Mitgliedsadresse: [email protected]

Reply via email to