Thread: Non-Blocking System()-like function

  1. #1
    Registered User
    Join Date
    Feb 2003

    Non-Blocking System()-like function

    I need a system() call that executes another packeged executable file, WITHOUT waiting for it to finish before continuing on. I would PERFER a portable solution, as my software currently compiles fine on both win32 and *nix. On nix i can just system("theotherbinary &"); to background it, however i know of no such windows compaible option.

    Any help would be greatly appreciated. Thanks for your time.

  2. #2
    Slave MadCow257's Avatar
    Join Date
    Jan 2005

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    > On nix i can just system("theotherbinary &");
    On win, try say
    system("start theotherbinary");

    Do start /? at the command line for lots of options.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 05-13-2011, 08:28 AM
  2. Replies: 2
    Last Post: 03-05-2009, 10:25 AM
  3. Compiling sample DarkGDK Program
    By Phyxashun in forum Game Programming
    Replies: 6
    Last Post: 01-27-2009, 03:07 AM
  4. Including lib in a lib
    By bibiteinfo in forum C++ Programming
    Replies: 0
    Last Post: 02-07-2006, 02:28 PM
  5. Bisection Method function value at root incorrect
    By mr_glass in forum C Programming
    Replies: 3
    Last Post: 11-10-2005, 09:10 AM