bas7advr.hlp (
Topic list)
SHELL Function Details
◄Syntax► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
The SHELL function returns an integer value that is the OS/2 process ID
for the shelled process.
SHELL(commandstring$)
Usage Notes
■ Like the SHELL statement, the OS/2 protected-mode SHELL function
permits a BASIC program to execute another process. In addition,
the SHELL function allows the BASIC program to continue execution
without waiting for the child process to terminate, and returns the
process ID of the child process.
■ This process ID is used by some of the OS/2 API functions (which
can be called from BASIC).