[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [linux-team] Probleme de redirection



On Fri, 26 Mar 1999, Tony MASSE wrote:

>     Bonjour,
> 
>     J'ai un probleme dans mon programme, cette ligne ne fonctionne pas :
> 
> 
>     execlp ("ps","ps","1>/home/err.txt","2>/home/msg.txt",0);


En fait, pourquoi ne pas laisser le soin de la redirection à l'exécution
du programme : c'est plus dans l'esprit UNIX.
 
Si c'est précablé dans l'application, cela lui fait perdre toute
souplesse.

	Alain

---------
This message was sent by Majordomo 1.94.3. Please repport problems to
manu@rtfm.be. If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.