File:  [MW Coherent from dump] / coherent / a / usr / man / COHERENT / exec
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent



exec                         Command                         exec




Execute command directly

eexxeecc [_c_o_m_m_a_n_d]

The shell sh normally  executes commands with a fork system call,
which creates a new process.  The shell command exec directly ex-
ecutes the given command with an exec system call instead.  Norm-
ally, this terminates execution of the current shell.

If the  command consists  only of redirection  specifications, as
described in  sh, exec redirects the input or  output of the cur-
rent shell accordingly without terminating it.  If the command is
omitted, exec has no effect.

***** See Also *****

commands, exec, fork(), sh







































COHERENT Lexicon                                           Page 1



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.