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"," /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.

    But you will have to be a registered user to download it!
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice