Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Feb 1999 11:43:59 -0500 (EST)
From:      Mikhail Teterin <mi@misha.cisco.com>
To:        current@freebsd.org
Subject:   sh(1) -- exec vs. fork
Message-ID:  <199902191644.LAA08791@misha.cisco.com>

next in thread | raw e-mail | index | archive | help
I just finished going through a couple of crontabs prepending the
command-lines with ``exec'', when it hit me.

Can shell itself recognize, there will be no more commands and just
proceed to exec without forking? What would this break?

This should never, of course, happen in interactive mode...

The shell's source requires studying, but, may be, a knowledgeable
person can answer right away?

	-mi


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902191644.LAA08791>