On Fri, 05 Feb 2010 03:57:17 -0800, Ashok Prabhu wrote:
> I very badly need this to work. I have been googling out for a week
> with no significant solution. I open a process p1 which does keeps
> running for 4+ hours. It gives some output in stdout now and then. I
> open this process with subproc
On 02/05/10 14:39, Ashok Prabhu wrote:
> On Feb 5, 6:33 pm, Ashok Prabhu wrote:
>> On Feb 5, 5:58 pm, Alain Ketterlin
>> wrote:
>>
>>
>>
>>> Ashok Prabhu writes:
>> p1=Popen('/usr/sunvts/bin/64/vtsk -d',stdout=PIPE,shell=True)
>>
> Use Popen(['/usr/...','-d'],stdout=PIPE), i.e., no shell
On Feb 5, 6:33 pm, Ashok Prabhu wrote:
> On Feb 5, 5:58 pm, Alain Ketterlin
> wrote:
>
>
>
> > Ashok Prabhu writes:
> > >> > p1=Popen('/usr/sunvts/bin/64/vtsk -d',stdout=PIPE,shell=True)
>
> > >> Use Popen(['/usr/...','-d'],stdout=PIPE), i.e., no shell.
>
> > >> -- Alain.
> > > Thanks for the re
On Feb 5, 5:58 pm, Alain Ketterlin
wrote:
> Ashok Prabhu writes:
> >> > p1=Popen('/usr/sunvts/bin/64/vtsk -d',stdout=PIPE,shell=True)
>
> >> Use Popen(['/usr/...','-d'],stdout=PIPE), i.e., no shell.
>
> >> -- Alain.
> > Thanks for the response. However it throws an error. Please find
> > below.
>
Ashok Prabhu writes:
>> > p1=Popen('/usr/sunvts/bin/64/vtsk -d',stdout=PIPE,shell=True)
>>
>> Use Popen(['/usr/...','-d'],stdout=PIPE), i.e., no shell.
>>
>> -- Alain.
> Thanks for the response. However it throws an error. Please find
> below.
>
from subprocess import *
p1=Popen('/usr/
On Feb 5, 5:12 pm, Alain Ketterlin
wrote:
> Ashok Prabhu writes:
> > from subprocess import *
> > p1=Popen('/usr/sunvts/bin/64/vtsk -d',stdout=PIPE,shell=True)
>
> Use Popen(['/usr/...','-d'],stdout=PIPE), i.e., no shell.
>
> -- Alain.
Hi Alain,
Thanks for the response. However it throws an err
Ashok Prabhu writes:
> from subprocess import *
> p1=Popen('/usr/sunvts/bin/64/vtsk -d',stdout=PIPE,shell=True)
Use Popen(['/usr/...','-d'],stdout=PIPE), i.e., no shell.
-- Alain.
--
http://mail.python.org/mailman/listinfo/python-list