I've been trying any variation I can think of to do this properly, but here's my problem:<br><br>I want to execute this command string: vlc -I rc <br><br>This allows vlc to be controlled via  a remote interface instead of the normal gui interface. <br>
<br>Now, say, I try this from subprocess:<br><br>>>>p=subprocess.Popen('vlc -I rc test.avi'.split(' '), shell=False, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)<br><br>But I don't get the remote interface. I get the normal gui interface. So how do I do it? I've tried passing ['vlc', '-I', 'rc'], I've tried ['-I', 'rc'] with executable set to 'vlc'. I've had shell=True, I've had shell=False. I've tried all these combinations.<br>
<br>What am I doing wrong?<br clear="all"><br>-- <br>Visit my blog at <a href="http://oddco.ca/zeroth/zblog">http://oddco.ca/zeroth/zblog</a><br>