Re: [Gambas-user] Exec statement not working though equivalent Terminal command works

2014-07-10 Thread Tobias Boege
On Thu, 10 Jul 2014, John Rose wrote: > Fabien & Tobias, > > I previously asked this question > > Exec ["mplex", "-f", "8", "-o", sCombinedPath , sVideoPath, sAudioPath] > works provided that none of the paths contains a space. > It should work either way. Look at this script --8<-- [ t.gbs3

Re: [Gambas-user] Exec statement not working though equivalent Terminal command works

2014-07-10 Thread Fabien Bodard
And if you use quote$ or quoting manually spaces ? Le 10 juil. 2014 11:44, "John Rose" a écrit : > Fabien & Tobias, > > I previously asked this question > > Exec ["mplex", "-f", "8", "-o", sCombinedPath , sVideoPath, sAudioPath] > works provided that none of the paths contains a space. What do I

[Gambas-user] Exec statement not working though equivalent Terminal command works

2014-07-10 Thread John Rose
Fabien & Tobias, I previously asked this question Exec ["mplex", "-f", "8", "-o", sCombinedPath , sVideoPath, sAudioPath] works provided that none of the paths contains a space. What do I amend the command to in order to allow for any/all of the paths containing a space (i.e. the equivalent of

Re: [Gambas-user] Exec statement not working though equivalent Terminal command works

2014-07-09 Thread Fabien Bodard
I think the f8 argument is parsed by the app Tobias Le 9 juil. 2014 11:50, "Tobias Boege" a écrit : > On Wed, 09 Jul 2014, John Rose wrote: > > I have this code: > > Print "mplex", "-f 8", "-o " & "'" & sCombinedPath & "'", "'" & > > sVideoPath & "'", "'" & sAudioPath & "'" > > Exec ["m

[Gambas-user] Exec statement not working though equivalent Terminal command works

2014-07-09 Thread John Rose
Fabien, I've just tried your suggestion: Exec ["mplex", "-f 8", "-o", sCombinedPath , sVideoPath, sAudioPath] It works provided that none of the paths contains a space. What do I amend the command to allow for any/all of the paths containing a space? Also, I've found that if I code "TO sOutp

Re: [Gambas-user] Exec statement not working though equivalent Terminal command works

2014-07-09 Thread Tobias Boege
On Wed, 09 Jul 2014, John Rose wrote: > I have this code: > Print "mplex", "-f 8", "-o " & "'" & sCombinedPath & "'", "'" & > sVideoPath & "'", "'" & sAudioPath & "'" > Exec ["mplex", "-f 8", "-o " & "'" & sCombinedPath & "'", "'" & > sVideoPath & "'", "'" & sAudioPath & "'"] To sOutput

Re: [Gambas-user] Exec statement not working though equivalent Terminal command works

2014-07-09 Thread Fabien Bodard
Exec ["mplex", "-f 8", "-o", sCombinedPath , sVideoPath, sAudioPath] Le 9 juil. 2014 09:33, "John Rose" a écrit : > I have this code: > Print "mplex", "-f 8", "-o " & "'" & sCombinedPath & "'", "'" & > sVideoPath & "'", "'" & sAudioPath & "'" > Exec ["mplex", "-f 8", "-o " & "'" & sCo

Re: [Gambas-user] Exec statement not working though equivalent Terminal command works

2014-07-09 Thread Fabien Bodard
Exec ["mplex", "-f 8", "-o", "'" & sCombinedPath & "'", "'" & sVideoPath & "'", "'" & sAudioPath & "'"] Le 9 juil. 2014 09:33, "John Rose" a écrit : > I have this code: > Print "mplex", "-f 8", "-o " & "'" & sCombinedPath & "'", "'" & > sVideoPath & "'", "'" & sAudioPath & "'" > Exec ["

[Gambas-user] Exec statement not working though equivalent Terminal command works

2014-07-09 Thread John Rose
I have this code: Print "mplex", "-f 8", "-o " & "'" & sCombinedPath & "'", "'" & sVideoPath & "'", "'" & sAudioPath & "'" Exec ["mplex", "-f 8", "-o " & "'" & sCombinedPath & "'", "'" & sVideoPath & "'", "'" & sAudioPath & "'"] To sOutput I'm using the single quotes since they are requ