os.system()- cannot add parameter

aditya shukla adityashukla1983 at gmail.com
Wed Aug 20 03:20:15 EDT 2008


Hello folks,

I have a program which is in the form of a client-server. i wanna send the
parameters from my python script such that the client passes it to the
server.this is what i have done
Server is running in vmplayer.This is what i have done
 b="c:\progs"
os.system('start c:\\pnew\\xyz\\win32\\xyz' + " " + b) -- now this runs the
xyz.exe but does not accept the parameter, where as if i directly give

xyz c:\progs through the client(from cmd.exe) then this works.

Please help me solve this problem

Thanks

Aditya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080820/e0056ce1/attachment.html>


More information about the Python-list mailing list