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

On 07/07/2014 09:38 PM, Thiago Arruda wrote:
> When a process is spawned with stdout/stderr connected to pipes,
> there are three associated callbacks:
> 
> - One for stdout data - One for stderr data - One for when the
> process exits.
> 
> When a stream reaches EOF, it's read callback will be invoked with
> an error set. That means when a process exits, all three callbacks
> will be invoked.
> 
> Is it guaranteed that the last callback of a process will be the 
> `uv_process_t.exit_cb`? I need to know this to determine when the 
> process handles can be safely closed.
> 

I don't think we guarantee such a thing, and it's actually not that
obvious from the code :-S Fedor, any idea?


- -- 
Saúl Ibarra Corretgé
bettercallsaghul.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBAgAGBQJTux17AAoJEEEOVVOum8BZzNoQAL7iRJCiZWdHCC7hYQQaNBMw
CEAtvlcNL8RiPuZZND2EPfwpvPTx9zTRGQP+9G6HPrTIkZoYM5nHH1gAx08yNMIL
G5OATMkNrw9/rXgGpSqJW4qA4bPP6h2vcQzKy5bqv/rZ1zVMvkLpdrpgJdTIb+oM
a/7Dk5KQiWBhcqO/EqTy+10vnjrUPIXScfwjV6hNZT+R0oUzXIaILYk6fXZbEamq
DOA0rmtYXbl6zxqFl+FMEc4Ab5yemAPq0Ecu/moy3gm5z4PSxysgEkUhvG1vAlW2
ciUak2cFA5f3J8Alj3hO//R1nCvNH+XKq+slncOuzgD88OR/rWZy3wQ53JCqlX62
V0ALiQ9hG65+C3P8cqVLxIxbai4vL7M4H1dNiCJ1jPyOGDL3uj173PdHjTvMbDQt
C6ubfTOlXEsQ3124mEdj1DvIxv3XN1wfQrV63Wr8G3CpwYoNIfZoJGcg6l8Knb1e
Xn06/LKcDeT8bazbcQ22ToMcvfa00vHGyn46JzHVyNTWknvZYKJleH1mPaNk0pkL
DgtRQpElVQ3M6wm5vaQPbVfGkW5zb1vXdUSd85NVihDHiO/WOY15XlzG+HJjUOXq
nnuIaWS3dr+WZuU39zs2nCkcwZhn67XtGWpe50cABEVL7+TCP1dYDu6qabOW9jN9
C/GI638jbJCPtbK8tF8r
=SJoG
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"libuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/libuv.
For more options, visit https://groups.google.com/d/optout.

Reply via email to