I am trying to write a runbox for linux, like in Gnome or KDE when you press Alt+F2.
The crux is, I am not sure how I can even start a program from my code base..
I tried system and execvp, however, it doesn't work, I get lots of errors like with acroread:
If I try blender (a 3D program) it works, so it has to be the way the command is actually executed, my program is a GTK+ app, so it most likely has to be a terminal thing? Or do I need bash and I just get sh with system and execvp?Code:/usr/local/bin/acroread: line 204: sed: command not found /usr/local/bin/acroread: line 229: dirname: command not found
How could I change that bash is sed instead of sh, basically, I need to rewrite system, don't I?
Anyway, thanks in advance.