[Vm-dev] Stdin/stdout/stderr support

Bert Freudenberg bert at freudenbergs.de
Fri Aug 29 20:38:18 UTC 2008


Am 29.08.2008 um 22:18 schrieb Igor Stasenko:
>
> i mean that its better to use file handles which is available on all
> platforms. and they actually should be open at the process startup

Maybe you misunderstood my patch then.

If the image tries to open a file named "/dev/stderr" then the VM now  
actually returns the pre-opened stderr rather than opening the named  
file. So this is independent of whether a file named "/dev/stderr"  
actually does exists or not, and it uses the proper file handles.

- Bert -




More information about the Vm-dev mailing list