problem in executing a file
Neil Hodgson
nyamatongwe+thunder at gmail.com
Thu Jul 13 19:27:36 EDT 2006
Ernesto:
> import os
> os.system("file.exe parameters")
>
> but I received an error like "cmd.exe : permission deneided"
>
> Probably I don't have the permission to execute the file. However, the server
> administrator said me that he cannot give me the permission, but I can also use
> ed execute files in my folder. so, is there a way to execute a file in my folder
> using python and not the os module?
Try using os.exec* as they shouldn't need an intermediate copy of
cmd.exe to run your file.
Neil
More information about the Python-list
mailing list