Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2006
    Posts
    1

    File.run waiting for child process

    Hi everyone I'm new here, need some advice.

    I have an exe here that launches another application and waits for it to end.

    When I use file.run to launch the exe, it would return 0(success) once the exe is launched and it doesn't wait for the application to finish before returning.

    Is there a way to make AMS wait for the exe's child process to end before returning?

  2. #2
    Join Date
    Apr 2002
    Location
    Atlanta, GA. USA
    Posts
    73

    Lokking for the same thing...

    http://www.indigorose.com/forums/sho...hlight=restore

    There is a wait trigger. the TRUE / FALSE trigger.




    Quote Originally Posted by Alexie
    Hi everyone I'm new here, need some advice.

    I have an exe here that launches another application and waits for it to end.

    When I use file.run to launch the exe, it would return 0(success) once the exe is launched and it doesn't wait for the application to finish before returning.

    Is there a way to make AMS wait for the exe's child process to end before returning?

  3. #3
    Join Date
    Aug 2003
    Location
    Maine, USA
    Posts
    1,695
    Quote Originally Posted by Alexie
    Hi everyone I'm new here, need some advice.

    I have an exe here that launches another application and waits for it to end.

    When I use file.run to launch the exe, it would return 0(success) once the exe is launched and it doesn't wait for the application to finish before returning.

    Is there a way to make AMS wait for the exe's child process to end before returning?
    Probably a few ways, but try the enumerate processes method with a timer - monitoring when the child process ends.

Similar Threads

  1. Terminate process???
    By korny in forum Setup Factory 7.0
    Replies: 1
    Last Post: 11-30-2005, 04:31 AM
  2. Function: Terminate Process
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 05-17-2004, 10:53 AM
  3. Running a Program and Waiting for it to Finish
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 09-26-2003, 09:26 AM
  4. Search for running process ?
    By cyberwebwerks in forum AutoPlay Media Studio 4.0
    Replies: 1
    Last Post: 09-08-2003, 01:15 PM

Posting Permissions

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