execl,execv ... starting a UNIX-shell procedure 
Author Message
 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



Tue, 13 Feb 1996 19:34:49 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. execv function fails when used as an Oracle external stored procedure

2. execl() problem in C under unix

3. Window procedure, window class procedure and dialog procedure

4. Starting a stored procedure whithout waiting its terminating

5. How to start procedure in different programme?

6. unix shell script execution

7. unix shell command line and interpreter

8. A C program that calls unix shell scripts

9. Convert Unix Shell Program to C

10. how to call a unix shell script from a c program

11. C++ and Unix Shell Question

12. Portable code versus unix specific build procedures

 

 
Powered by phpBB® Forum Software