popen
Mavroyanopoulos Nikos
nmav at hellug.gr
Tue Apr 20 22:13:17 EEST 1999
On Tue, Apr 20, 1999 at 12:58:49AM +0300, Vasilis Vasaitis wrote:
> - if (FROMF==NULL) {printf("Why?");}
> + if (FROMF==NULL || waitpid(-1, NULL, WNOHANG)==0) fprintf(stderr, "Why?");
> >
> > fprintf(stderr, "i'm invicible!\n");
> > fflush(stderr); /* Aυτό πού στο καλό πήγε? */
> >
> > }
> To programma auto dinei ta parakato apotelesmata sto sistima mou:
> mod at arakis:~ $ ./popen ; sleep 1
> Why?i'm invicible!
> sh: /etc/gzip: No such file or directory
> mod at arakis:~ $ _
> Elpizo na voithisa...
σ'ευχαριστώ!
> --
> Vasilis Vasaitis
> vvas at hal.csd.auth.gr
--
Nikos Mavroyanopoulos
mailto:nmav at hellug.gr
http://sg1.math.uoi.gr/~ma06205
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr/archives
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users at hellug.gr
====================================================================
More information about the Linux-greek-users
mailing list