[Tutor] 2.7.3 Popen argument issues
Dave Angel
d at davea.name
Mon Aug 27 14:38:25 CEST 2012
On 08/27/2012 03:52 AM, Ray Jones wrote:
> On 08/26/2012 07:12 AM, eryksun wrote:
>> <snip>
> Yes, the Bash call worked (in fact I tried it just prior to sending the
> original message just to be sure).
>
> I guess I'm a bit confused about 'splitting' the arguments. You said
> that Python splits arguments on spaces. What exactly happens to the
> arguments if we split them up into individual strings separated by commas?
>
>
Python doesn't split the arguments, you've already split them. And
you're not using shell=, so you don't invoke bash. However, the shell
example (not using python) DOES split the arguments by spaces, and you
have to replicate what the shell would do.
Beyond that I cannot help. I'm not at all familiar with vlc.
--
DaveA
More information about the Tutor
mailing list