work on sync process

This commit is contained in:
2019-01-21 21:25:50 +00:00
parent 069e7795e5
commit 7c2a2c5fe6
4 changed files with 116 additions and 82 deletions

View File

@@ -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()'