Search:

Type: Posts; User: hambergler

Search: Search took 0.00 seconds.

  1. Thread: Execvp help

    by hambergler
    Replies
    16
    Views
    6,088

    Thanks guys. You both helped me finish this. KC,...

    Thanks guys. You both helped me finish this. KC, you showed me how to finish my execlp command. MK27 you just helped me focus and get away from the other crap. Everyone else, sorry I wasn't...
  2. Thread: Execvp help

    by hambergler
    Replies
    16
    Views
    6,088

    This is for a project. I'm learning to close a...

    This is for a project. I'm learning to close a "line" like stdout or stdin and open another file to connect to the closed line. Thus the fork and the previous execlp. I'm just having trouble with...
  3. Thread: Execvp help

    by hambergler
    Replies
    16
    Views
    6,088

    Again

    Ok I changed it a bit, but now I'm having trouble getting the file name into the system call... here's what I did:



    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>

    int main (int...
  4. Thread: Execvp help

    by hambergler
    Replies
    16
    Views
    6,088

    Execvp help

    I just need a little help... my program is pretty simple; it uses execlp to read a file, sort it, put the output into a different file, then close the original file. I've gotten this to work but it...
Results 1 to 4 of 4