Shell and wait

Discussion in 'Code Samples & Tips' started by Erel, Mar 26, 2008.

  1. Erel

    Erel Administrator Staff Member Licensed User

    The following code allows you to run an external application and wait for it to finish (unlike regular Shell which continues to run immediately).
    It requires the Door library:

    Sub Globals
    'Declare the global variables here.

    End Sub

    Sub App_Start
    'Initialize objects
    "System.Diagnostics.Process" & process.System_NS)
        StartInfo.Value = process.GetProperty(
    Msgbox("After Shell")
    End Sub

    Sub ShellAndWait(File, Arguments)
    End Sub

    Attached Files:

  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