On Mon, Apr 8, 2013 at 10:22 PM, Dave Angel wrote:
> On 04/08/2013 08:01 AM, Dylan Evans wrote:
>
>> On Mon, Apr 8, 2013 at 9:48 PM, Alain Ketterlin <
>> al...@dpt-info.u-strasbg.fr
>>
>>> wrote:
>>>
>>
>> loial writes:
>>>
>>> I want to call a child process to run a shell script and wait for
On 04/08/2013 07:00 AM, loial wrote:
I want to call a child process to run a shell script and wait for that script
to finish. Will the code below wait for the script to finish? If not then how
do I make it wait?
Any help appreciated.
import subprocess
command = "/home/john/myscript"
proces
On 04/08/2013 08:01 AM, Dylan Evans wrote:
On Mon, Apr 8, 2013 at 9:48 PM, Alain Ketterlin
wrote:
loial writes:
I want to call a child process to run a shell script and wait for that
script to finish. Will the code below wait for the script to finish?
If not then how do I make it wait?
[.
On Mon, Apr 8, 2013 at 9:48 PM, Alain Ketterlin wrote:
> loial writes:
>
> > I want to call a child process to run a shell script and wait for that
> > script to finish. Will the code below wait for the script to finish?
> > If not then how do I make it wait?
> [...]
> > process = subprocess.Pop
loial writes:
> I want to call a child process to run a shell script and wait for that
> script to finish. Will the code below wait for the script to finish?
> If not then how do I make it wait?
[...]
> process = subprocess.Popen(command,
> stdin=subprocess.PIPE,stdout=subprocess.PIPE, stderr=su
I want to call a child process to run a shell script and wait for that script
to finish. Will the code below wait for the script to finish? If not then how
do I make it wait?
Any help appreciated.
import subprocess
command = "/home/john/myscript"
process = subprocess.Popen(command,
stdin=su