On Mon, 21 Jan 2013 13:46:20 -0800 (PST) rossig wrote:
r> Hello, sorry if this question was made before, but I didn't find something
r> similar.
r> Here's the problem, I need to execute 2 console commands, one is a linux
r> command and the other one is a shel script (.sh) which use some fmpeg
r> commands.
r>
r> I execute the first correctly, but the second one isn't even executed.
First, you don't actually show any code executing the second command. If
you really don't have it, it's not really surprising that it's not
executed.
If you do have it and just omitted for whatever reason, a possible problem
is that your shell script is either not executable (check its mode) or
doesn't start with "#!/bin/sh" or similar line. In either case you could
use wxShell() to still run it but it should also work with wxExecute()
under Unix if both of the above conditions are satisfied.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/