Hi everybody,
I am trying to do a simple app in wich I’d like to call external
programs to buttons callbacks.
I 've tried either with system() and spawn() together with “pterm
progrname” but I cannot launch
external programs.
Any suggestion?
Thanks in advance ,
Francesco
Francesco Jatta wrote:
Hi everybody,
I am trying to do a simple app in wich I’d like to call external
programs to buttons callbacks.
I 've tried either with system() and spawn() together with “pterm
progrname” but I cannot launch
external programs.
Any suggestion?
Thanks in advance ,
Francesco
system( “YourExtProgram” );
or
spawnvp( P_NOWAITO, (char const *)“YourExtProgram”, (char const * const
*) argv );
Did you give your program with full path name or define your environment
PATH correctly
so that your program can find your external program?
Regards