Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cygwin のコンソールから起動した場合にログがコンソールに接続されない #17

Closed
wtnbgo opened this issue Nov 12, 2013 · 2 comments

Comments

@wtnbgo
Copy link

wtnbgo commented Nov 12, 2013

作業的に cygwin 使うことのが多いのでコマンドライン動作になると嬉しい

cygwin からの起動であることを判定する方法を調査?
stdio プラグインは AttachConsole で cygwin からで普通に動いてるので何が違うのかをまず確認

@wtnbgo
Copy link
Author

wtnbgo commented Nov 12, 2013

cygwin というか mintty での起動時でした。cmd.exe 上で cygwin 起動した場合は普通にでている

@wtnbgo
Copy link
Author

wtnbgo commented Nov 12, 2013

mintty では既に stdio/stdout が開かれた上で起動されてるので、AttachConsole とか再オープンとかしてはいけない
……ということでそうなおすと mintty では正しくなったが今度は cmd.exe からの起動でアタッチ処理が行われない
調査すると stdin/out/err が既に開かれており、アタッチさせる判定をスルーしてしまっている
調査継続中

@ghost ghost assigned wtnbgo Nov 14, 2013
@wtnbgo wtnbgo closed this as completed Nov 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant