process(deprecated)/exec - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : process(deprecated)/exec

process

  

exec

  

starts a new program replacing the executing Maple

 

Calling Sequence

Parameters

Description

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).

See Also

process(deprecated)[fork]

process(deprecated)[kill]

process(deprecated)[launch]

process(deprecated)[pipe]

process(deprecated)[wait]

Threads