Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

njMerlin

How to get a return while running under subprocess.Popen

Hello again,

I am running WinSCP in Python through subprocess.Popen and transferring files to a server.
Since this transfer takes a long while (the files are quite large), it sometimes interrupts the following commands, because the transfer is not yet done.
Is there a way to get a ping/return so to see that the process is finished? I am not running it as an executable for that matter.
Thanks a lot.
Merlin