Shell and wait while process is running

Discussion in 'Questions (Windows Mobile)' started by g0dspeed, Mar 22, 2008.

  1. g0dspeed

    g0dspeed New Member

    Hi, all.

    I think Shell(cmd,arg) is just run 'cmd' value.

    for example.

    Shell("wceload.exe","some1.cab /noui")
    Sleep(5000) ' <-- I don't want to sleeeep!!!
    Shell("(Some SoftwareResetProgram)","")


    I want to know run another application and wait while process is runnig.
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Next version will include more options for Shell (including waiting for the process to end).
     
  3. agraham

    agraham Expert Licensed User

    The Process object in my Threading library can do this.
    http://www.basic4ppc.com/forum/showthread.php?t=1611

    But you will have to be a registered user to download it!
     
Loading...