Non-Blocking System()-like function

This is a discussion on Non-Blocking System()-like function within the C++ Programming forums, part of the General Programming Boards category; I need a system() call that executes another packeged executable file, WITHOUT waiting for it to finish before continuing on. ...

  1. #1
    That Creepy Network Guy DeepBlackMagic's Avatar
    Join Date
    Feb 2003
    Posts
    265

    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
    Posts
    735

  3. #3
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,490
    > 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, 09:25 AM
  3. Compiling sample DarkGDK Program
    By Phyxashun in forum Game Programming
    Replies: 6
    Last Post: 01-27-2009, 02:07 AM
  4. Including lib in a lib
    By bibiteinfo in forum C++ Programming
    Replies: 0
    Last Post: 02-07-2006, 01:28 PM
  5. Bisection Method function value at root incorrect
    By mr_glass in forum C Programming
    Replies: 3
    Last Post: 11-10-2005, 08:10 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21