regarding system function

praba kar prabapython at yahoo.co.in
Fri Apr 22 02:36:37 EDT 2005


Dear All,

     In Php If I send a command to system function
then It will return 1 on success and 0 on failure.  So
based upon that value I can to further work.

     But In Python If I send a command to system
function then It will return 0 only for both
conditions(success and failure).  So What I need
to do for this.  I want the result like php system
function.


regards
Prabahar
 

________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony



More information about the Python-list mailing list