[FreeNX-kNX] Sanity check...

Fabian Franz FabianFranz at gmx.de
Sun Apr 24 01:19:32 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Sonntag, 24. April 2005 03:12 schrieb Ed Warnicke:

> > > so that nxserver ONLY responds to nxclient with it's
> > > Bye message once all of the pipes are hooked up.
> > > (Please note, the above example is very rough,
> > > you'd want to check various exit code to make
> > > sure the pipe really are hooked up.)
> >
> > There is a problem on that one ... You can't check the exit code with &
> > ...
>
> Actually :)  You can :)
>
> wait will return the exit code of the process being waited on... so after
> wait $!
> you will find that
> $?
> is the return code of the backgrounded netcat :)

Oh, sure you are right. I did suspect that, but thought that I already tried 
it out... Well, no one is perfect.

Thank you,

I'll now catch some sleep.

Hope to see a patch from you tomorrow ;-).

cu

Fabian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCavQmI0lSH7CXz7MRAi0UAJ4qX1Y8R2TMs5dniMOjgip2ixWKegCfZsR7
RayyGNn7lyThQ9/pYZ+iCjg=
=LkGu
-----END PGP SIGNATURE-----




More information about the FreeNX-kNX mailing list