next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Macaulay2Doc > The Macaulay2 language > system facilities > exec

exec -- execute another program

Synopsis

Description

exec argv uses the 'exec' operating system call to start up another program, replacing the current Macaulay2 process. Here argv is a string, or a sequence or list of strings to be passed as arguments to the new process. The first string is the name of the executable file.

For the programmer

The object exec is a compiled function.