Definition at line 28 of file isDSinFAX.py.
◆ __init__()
def isDSinFAX.Command.__init__ |
( |
|
self, |
|
|
|
cmd |
|
) |
| |
◆ run()
def isDSinFAX.Command.run |
( |
|
self, |
|
|
|
timeout |
|
) |
| |
Definition at line 34 of file isDSinFAX.py.
34 def run(self, timeout):
37 self.process = subprocess.Popen(self.cmd, shell=
True)
38 self.process.communicate()
40 thread = threading.Thread(target=target)
45 print (
'Terminating process')
46 self.process.terminate()
48 return self.process.returncode
◆ cmd
◆ process
isDSinFAX.Command.process |
The documentation for this class was generated from the following file: