Open questions:
- The requirements for
Send + Sync on the closure need to be documented and are "somewhat odd"
- It's somewhat surprising to have to deal with a list of callbacks to invoke, especially when order might matter quite a bit.
- There are weird semantics with using
Stdio::piped() for any of the stdio handles because they'll immediately close the other half of the pipe (via CLOEXEC).
This is a tracking issue for rust-lang/rfcs#1359.
Open questions:
Send+Syncon the closure need to be documented and are "somewhat odd"Stdio::piped()for any of the stdio handles because they'll immediately close the other half of the pipe (via CLOEXEC).This is a tracking issue for rust-lang/rfcs#1359.