
execl,execv ... starting a UNIX-shell procedure
I tried to start a UNIX-shell procedure from my c-programm.
So I take a lot of efforts to make it with execl,execv .....
It works starting a xterm with :
execl("/usr/bin/X11/xterm","/usr/bin/X11/xterm",NULL);
Now I wanted to start a shell-procedure with :
execl("/bin/sh","/bin/sh","/usr/stud/gloege/replication.sh",NULL);
The return-code was not -1 but from the de{*filter*} I got the message :
unexpected breakpoint (ignore) at 0x8009d640
segmentation violation (no ignore) at 0x00002270
(file unknown): $UNWIND_START +0x00000080: (line unknown)
and the procedure has not been started ....
This shell-procedure should be started :
-rwxrwxrwx 1 gloege users 127 Aug 27 12:19 replication.sh
Can anybody help, so just mail me ....
Andreas