Here is a problomatic code for me:
burncmd =3D "growisofs -M " + /dev/hdc + " " + "-R -J" + " " + some_files #=
ssh =3D Ssh(user,host)
while ssh.sendcmd(burncmd, readtype=3D0):
print 'this will send and wait the output of the command'
With this code, i could only managed to burn files. If i send a dir
path to the some_files part then it didnt burn the ingredients of the
There is a problem about using the readtype. If i use 2, it blocks the
code. If i use 1, it didnt work either.
Another thing, at the while loop i want to get the return value of sendcmd:
result =3D ssh.sendcmd(burncmd, readtype=3D0)
then i will check the result. but i couldnt find how i will use it with whi=
sendcmd sends some return values and lets say i want to concotaneta
them during the while loop.
I will be happy is someone tell me why i couldnt send file paths and
managed to burn them with sendcmd, but only file paths.
And also for the second problem, i need help.=20
With my best wishes.