work on sync process
This commit is contained in:
@@ -97,10 +97,10 @@ class MotionBase:
|
||||
sftp.chmod(dst, 0o755)
|
||||
self.cmdSync=cmd='LD_LIBRARY_PATH=/opt/ppmac/libppmac/ '+dst
|
||||
#self.syncShell=comm.shell_channel(cmd)
|
||||
#self.syncChan=sc=comm._client.exec_command(cmd)
|
||||
self.syncChan=sc=comm._client.exec_command(cmd)
|
||||
#ch=sc[1].channel
|
||||
#ch.settimeout(1)
|
||||
#print ('starting '+cmd)
|
||||
print ('starting '+cmd)
|
||||
|
||||
def run(self):
|
||||
'runs the code sync_run which has been generated with setup_sync()'
|
||||
|
||||
Reference in New Issue
Block a user