how to call file from Jython?

Naveen kumar navidearr at yahoo.com
Thu Aug 9 14:22:30 EDT 2007


Hi I want to excute a .cmd file on windows through jython.. How can i do that?
   
  I am using following code
   
  import os
   
  os.system("C:/testfile/anotherfolder/Startserver.cmd")
   
  can any body let me know how can excute Startserver.cmd from jython??
   
  thanks,
  Naveen

       
---------------------------------
Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070809/db764091/attachment.html>


More information about the Python-list mailing list