Thread: win32 equivalent of system()

  1. #16
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    As far as process return values:

    0  == EXIT_SUCCESS
    !0 == EXIT_FAILURE
    Same across windows and nix.

    This lets you return a range of failure values.

    The source for pscp is available online. If you look in SCP.c you will find at the bottom of the main() function:
        return (errs == 0 ? 0 : 1);
    P.S If you've spent a couple of days trying to figure out this "error", please check below before you chuck your monitor out the window.

  2. #17
    Registered User
    Join Date
    Aug 2002
    I think it ryhmes with clucking bell!

    Sorry to waste your time anonytmouse - I guess we solved some other problems and clarified some issues along the way!


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linux equivalent to Win32 ShellExecute
    By BobS0327 in forum Linux Programming
    Replies: 4
    Last Post: 06-07-2006, 04:35 AM
  2. Opinions on custom system build
    By lightatdawn in forum Tech Board
    Replies: 2
    Last Post: 10-18-2005, 04:15 AM
  3. Problem With My Box
    By HaVoX in forum Tech Board
    Replies: 9
    Last Post: 10-15-2005, 07:38 AM
  4. School Mini-Project on C/C++ (Need Your Help)..
    By EazTerence in forum C++ Programming
    Replies: 4
    Last Post: 09-08-2005, 01:08 AM
  5. FILES in WinAPI
    By Garfield in forum Windows Programming
    Replies: 46
    Last Post: 10-02-2003, 06:51 PM