Jump to content

subprocess module

- - - - -

  • Please log in to reply
No replies to this topic

#1
codeLoad

codeLoad

    Newbie

  • Members
  • PipPip
  • 16 posts
Hi,

I am writing a multi-threaded script in Unix in which each thread calls subprocess.call() or subprocess.Popen() with "scp" to transfer files. If using this method, can multiple scp processes be run in parallel, or are they limited by the Python interpreter? I am using the machine I am on as a third party to use scp to transfer files between 2 remote machines so it would be inefficient to have to wait for each call to scp to finish before going on to the next.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users