* fix --stdin/-i * close stdout/err if detached, for debugging one can just pass -b * do the same on Windows * detect terminal launch on Windows