SourcePoint Intel Help

Table of Contents

createprocess

createprocess(command, waitforcompletion)

Where:

command

is a command line string to create the process.

waitforcompletion

is a boolean indicating whether SourcePoint should wait for the process to complete.

Discussion

The createprocess function call can be used to start another program. ย The command string includes the program name, along with any arguments to pass to the program.

Examples

Command input:

createprocess("notepad c:\\temp\\foo.txt", false) ย ย ย // start notepad, do not wait for it to be closed

Command input:

createProcess("c:\\temp\\unlock.bat", true) ย ย ย ย ย ย ย ย // run a batch file, wait for it to complete

Related Topics: