> Read The Fine
> Manual:http://docs.python.org/library/subprocess.html#subprocess.Popen:
snip...
>
> Try instead:
> cmd3 = ['ffmpeg', '-i', '/home/giga/Desktop/Guitar1.flv']
>
> Cheers,
> Chris
> --http://blog.rebertia.com
No doubt, I should RTFM...you're right!
Yes, works like a charm now.
On Tue, 19 Apr 2011 00:07:46 +0100, goldtech
wrote:
Trying to learn how to run a linux command and get the stdout and
stderr. I'm trying the following:
cmd3 = r'ffmpeg -i /home/giga/Desktop/Guitar1.flv'
p = Popen(cmd3, stdout=PIPE, stderr=PIPE)
Traceback (most recent call last):
File ""
On Mon, Apr 18, 2011 at 4:07 PM, goldtech wrote:
> Hi,
>
> Trying to learn how to run a linux command and get the stdout and
> stderr. I'm trying the following:
>
cmd3 = r'ffmpeg -i /home/giga/Desktop/Guitar1.flv'
p = Popen(cmd3, stdout=PIPE, stderr=PIPE)
>
> Traceback (most recent call
Hi,
Trying to learn how to run a linux command and get the stdout and
stderr. I'm trying the following:
>>> cmd3 = r'ffmpeg -i /home/giga/Desktop/Guitar1.flv'
>>> p = Popen(cmd3, stdout=PIPE, stderr=PIPE)
Traceback (most recent call last):
File "", line 1, in
p = Popen(cmd3, stdout=PIPE,