
19 Aug
2010
19 Aug
'10
8:40 p.m.
On Thu, 19 Aug 2010 22:34:36 +0200, Ilya Sokolov <ilyasokol@gmail.com> wrote:
Boris Schaeling wrote (in the attached file):
File descriptors must be closed after context is instantiated as the context constructor uses the behavior inherit which tries to dup() stdin, stdout and stderr.
Which makes me nervous (sorry) as it is superfluous in 90% of cases.
Currently the standard constructor of the context class reproduces standard behavior on POSIX systems (file descriptors are inherited). Do you think this should be changed? Or it would be fine to provide another constructor which expects up to three parameters to configure stdin, stdout and stderr? Boris