CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2000
    Posts
    129

    how to starting a new application from my process?

    Hi!

    I’m implementing a daemon process that will need to programmatically start other applications. I’m planning to use system() from <process.h>. Please let me know if there is a better way to do that.

    Thanks!

  2. #2
    Join Date
    Jun 2003
    Posts
    188
    If you are using windows you can use ShellExecute() or createProcess(). I am using ShellExecute() to launch MS Word. It works great.

  3. #3
    Join Date
    Jul 2003
    Location
    Maryland
    Posts
    762
    system("file.exe") works fine, from <cstdlib>

    Dunno about that process.h crap

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured