HI
I managed to link another program with execve function(and I tried with execv and it works also),but there is a problem. It is very inportant what kind of program I'm linking. If I want to link the program that includes menu it writes error opening terminal: unknown.
When I link program with menu I just change the path to the menu program, but obviously that's not enough. When compiling the program with menu I add -lncurses(it has something to do with terminal).
Please give me some advice how to start a program(linked from other program) with menu, all other programs work.
For the system function, do I have to put into brackets the path with compiled a.out file of the program. Do I have to add something else or just system() with entered program path inside. It work If I put ls inside, but didn't start my menu program, there was error segmentation fault.
So please advices would be helpful.
Have a nice Day

Matt