Depending in which environment you are working the list version of system might be more secure: system( "/home/mail/addmembers", "-nemail.out", "-wy maillist"); prevents the shell to interpolate the arguments, and thus cuts down dramatically on the number of security problems that can arise if the arguments are obtained from untrusted users.
In reply to Re: How to use system()
by mirod
in thread How to use system()
by dmaranan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |