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

John Rose john.aaron.rose at ...626...
Thu Jul 10 11:43:07 CEST 2014


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 putting single quotes around each of the 
paths in the corresponding Terminal command)?I've tried doing:
Exec ["mplex", "-f", "8", "-o",  "'"&sCombinedPath&"'", 
"'"&sVideoPath&"'", "'"&sAudioPath&"'"]
but it didn't work.

-- 
Regards,
John





More information about the User mailing list