Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jul 2001 18:43:47 +0200
From:      Gabriel Ambuehl <gabriel_ambuehl@buz.ch>
To:        David Leimbach <leimbacd@bellsouth.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re[2]: Passing data in C++ via stdin without waiting for the new process to  complete
Message-ID:  <186598221416.20010708184347@buz.ch>
In-Reply-To: <20010708104356.B5630@mutt.home.net>
References:  <114577608557.20010708130014@buz.ch> <3B484403.1BA9A21D@jak.nl> <84594262844.20010708173749@buz.ch> <20010708104356.B5630@mutt.home.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----

Hello David,

Sunday, July 08, 2001, 5:43:56 PM, you wrote:

> fork and execl!!!

> execl replaces the current process.  So fork then execl.

Sounds pretty expensive. I think I'll go for a bunch of daemons that
communicate via TCP/IP with the master one and then do whatever they
need to. Forking forking the master daemon doesn't seem to be a very
good idea as it sometimes gets pretty large and thus this would be
pretty expensive...

Best regards,
 Gabriel
R

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5i

iQEVAwUBO0h/ucZa2WpymlDxAQEz6AgAlC83VUf47HfI51fWyHC3vuiVbX/bmMJT
2ZaR5UGFaUxXj8GOMUVVcQp1Def172/R04IukmO7XdscbsQft6cv2ISDPKWsL7Iz
ghX5o17WBXXjRCOpK5aAvB52BDmtKqK475U7pUaihyUMRPCmhWxe+qBf9+Relog6
yjmi+jD7M1Q0ehBsQqEsrUIAOGvfiXhzSTwZCtB81YT9/KF3jUA6Epflj4q97RkU
9imY1DCo2QEK3rGkmBKh7r+7bLgb9Qj1/16AVcGlLV1gEO+8L3sZKcBgvEEy+cEi
/2pDcY/k/tCa0R2I7hz0fNiCpzzNi08Y4Sn24m4vmSMq+NayCZbKPw==
=CAHy
-----END PGP SIGNATURE-----


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?186598221416.20010708184347>