problem with "os.spawnle(os.P_NOWAIT,'C:\info.exe')"

muttu2244 at yahoo.com muttu2244 at yahoo.com
Thu Dec 15 19:20:51 EST 2005


hi all

i tried running a exe file info.exe from the spawnle cmd, its running
fine from the interactive mode, but when i try to run the same info.exe
file from a python file, its giving me the following error:

##############################################################
Traceback (most recent call last):
  File "C:\Documents and Settings\shivayogimath_dc\Desktop\network.py",
line 56,
 in ?

     os.spawnle(os.P_NOWAIT,'C:\info.exe')

  File "C:\Python23\Lib\site-packages\wmi.py", line 263, in __getattr__
    raise AttributeError, attribute
AttributeError: spawnle
################################################################

Could u please help in removing this error.
thanks for the help

regards




More information about the Python-list mailing list