Thread: Process.h ???

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    7

    Process.h ???

    Hi ,
    I'm under linux and can't find a package with the header process.h and the others .

    Here hell i find this ?????

    I'm want to use then with the explained FAQ about call external programs but my linux don't have this process.h and some others.


    I know I know this is a stupid question (Don't confirm !)



    But can someone help here ?

    Thanks anyway .

    Carlos.

  2. #2
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,212
    Spawnl is a windows API function, if that's what you're trying to use. It won't work under *nix.

  3. #3
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    If you are running Linux then it might be a good idea to use functions and headers compatible with Linux.
    http://www.rt.com/man/execl.3.html

    -Prelude
    My best code is written with the delete key.

  4. #4
    Registered User
    Join Date
    Mar 2002
    Posts
    7

    How could i use this ?

    Hmmm But the function system work too =)
    Existe another way ?

    I make this :

    /* finish if recording time exhausted call the teste function */
    if (recording_time > 0 && min_pts >= recording_time)

    system("./teste");

    /* finish if recording time exhausted break the program */
    if (recording_time > 0 && min_pts >= recording_time)
    break;

    -------------------------------
    You say about another method on Linux System's that work's better .
    Can you show-me ?
    Use the lines above please ..

    Thanks.

  5. #5
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,212
    teste?

    Linux has gone porno!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. a phone book program
    By mackieinva in forum C Programming
    Replies: 2
    Last Post: 09-19-2007, 06:31 AM
  2. Calling external program
    By gandalf_bar in forum Linux Programming
    Replies: 10
    Last Post: 03-29-2004, 01:16 PM
  3. gcc and process.h
    By xddxogm3 in forum C Programming
    Replies: 7
    Last Post: 03-18-2004, 06:14 PM
  4. Process.h
    By Sebastiani in forum C Programming
    Replies: 2
    Last Post: 04-18-2002, 07:28 PM