JStrom has asked for the wisdom of the Perl Monks concerning the following question:
I've tried turning this into a Win32::Process::Create call:system( "C:\\Program Files\\VideoLAN\\VLC\\vlc.exe", "--rc-host", "127 +.0.0.1:9999" );
Neither of which work. For the first one, VLC pops up a window saying it can't parse the command line. For the second, nothing happens at all (no error from perl, VLC doesn't seem to start).Win32::Process::Create( $p, "C:\\Program Files\\VideoLAN\\VLC\\vlc.exe", "vlc --rc-host 127.0.0.1:9999", 0, NORMAL_PRIORITY_CLASS, '.' ) or die; Win32::Process::Create( $p, "C:\\Program Files\\VideoLAN\\VLC\\vlc.exe", "--rc-host 127.0.0.1:9999", 0, NORMAL_PRIORITY_CLASS, '.' ) or die;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Starting a process under Win32
by ikegami (Patriarch) on Feb 18, 2008 at 06:29 UTC | |
|
Re: Starting a process under Win32
by marcussen (Pilgrim) on Feb 18, 2008 at 06:05 UTC | |
by JStrom (Pilgrim) on Feb 19, 2008 at 02:14 UTC | |
|
Re: Starting a process under Win32
by cdarke (Prior) on Feb 18, 2008 at 13:16 UTC | |
by Anonymous Monk on Feb 18, 2008 at 16:09 UTC | |
by runrig (Abbot) on Feb 19, 2008 at 23:26 UTC | |
by JStrom (Pilgrim) on Feb 19, 2008 at 02:14 UTC | |
by cdarke (Prior) on Feb 19, 2008 at 12:39 UTC | |
by JStrom (Pilgrim) on Feb 19, 2008 at 23:01 UTC | |
by BrowserUk (Patriarch) on Feb 19, 2008 at 23:11 UTC |