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

Console outputs not displayed when running from command line #18

Open
Jissai opened this issue Mar 20, 2013 · 0 comments
Open

Console outputs not displayed when running from command line #18

Jissai opened this issue Mar 20, 2013 · 0 comments

Comments

@Jissai
Copy link
Contributor

Jissai commented Mar 20, 2013

When running TinyPG with a file parameter
cmd.exe : NO console output displayed.
VS2010 : console output displayed in output window.

I found/tried this solution on stackOverflow.
http://stackoverflow.com/questions/8047741/attachconsole-1-but-console-writeline-wont-output-to-parent-command-prompt

It causes the reverse behavior
cmd.exe : console output displayed.
VS2010 : console output displayed in a cmd.exe console which close upon completion. output window is blank.

Setting TinyPG project to "Console application" instead of "Window application" seems to fix the problem :
output are displayed in VS2010/batch/cmd.exe correctly.

TinyPG.csproj
-    <OutputType>WinExe</OutputType>
+    <OutputType>Exe</OutputType>

But i am not totaly sure/aware of the consequences.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant