Changes between Initial Version and Version 1 of Ticket #10508, comment 415


Ignore:
Timestamp:
04/04/13 08:38:53 (9 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10508, comment 415

    initial v1  
    11Also fixed
    22{{{
    3 status = (rc >> 8) & 0x7f
     3rc = os.system(command)
     4status = (rc >> 8) & 0xff    # see http://docs.python.org/library/os.html#os.wait
    45}}}
    56to
    67{{{
    7 status = (rc >> 8) & 0xff
     8import subprocess
     9return subprocess.call(command, shell=True)
    810}}}