process[exec] - starts a new program replacing the executing Maple
|
Calling Sequence
|
|
exec(cmd, arg ...)
|
|
Parameters
|
|
cmd
|
-
|
name of the executable file to execute
|
arg
|
-
|
zero or more command-line arguments to the specified command
|
|
|
|
|
Description
|
|
•
|
Important: The process package has been deprecated. Use the superseding package Threads instead.
|
•
|
The Maple process is terminated, and a new process is started in its place as specified by cmd and arg.
|
•
|
exec does not return, unless it fails, in which case it generates an error.
|
•
|
exec is typically called in one branch of a fork.
|
•
|
The specified executable file is searched for in the same set of directories as commands entered on the system command line (as set by the PATH environment variable in UNIX).
|
•
|
The exec function is only available on platforms that support true concurrent processing (for example, UNIX).
|
|
|
Download Help Document
Was this information helpful?