run script nuances...

Robin Bowes <[email protected]>
Newsgroups gmane.comp.djb.syslog
Message-ID <[email protected]>
Hi,

Can anyone tell me the difference between the following run scripts:

#!/bin/sh
exec 2>&1
exec supervised_command options parameters

and

#!/bin/sh
exec supervised_command options parameters 2>&1

Are they equivalent?

R.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.