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

Game detaches from command prompt launch on Windows #1339

Closed
Cervator opened this issue Nov 1, 2014 · 2 comments
Closed

Game detaches from command prompt launch on Windows #1339

Cervator opened this issue Nov 1, 2014 · 2 comments
Labels
Type: Bug Issues reporting and PRs fixing problems

Comments

@Cervator
Copy link
Member

Cervator commented Nov 1, 2014

Noticed while testing for a stable build.

terasology.exe -homedir and other ways to launch on Windows currently detaches from the command prompt, where it used to hold on until the user exits the game normally. Now it returns immediately and you can do other stuff with the command prompt while the game launches happily on the side.

That's not a big deal as you can just close the game normally, no process is left orphaned. Bit more problematic if you launch a headless server though! Again you can actually close the server normally (if you launch a client, connect to the server, and issue the stop command via console) but you might not realize anything has happened.or forget to close.

The nice thing is everything otherwise seems to be working great!

Not actually sure what the ideal way for this to work is. Maybe the detaching is a nice feature in some cases. New command line parameter?

Does it do the same on Linux/Mac? IntelliJ is fine, the process stays attached

@Cervator Cervator added the Type: Bug Issues reporting and PRs fixing problems label Nov 1, 2014
@Cervator
Copy link
Member Author

Slight addition: Works fine with java -jar Terasology.jar too - doesn't detach

@Cervator
Copy link
Member Author

Closing this as complete or going obsolete with changes by @shartte

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issues reporting and PRs fixing problems
Projects
None yet
Development

No branches or pull requests

1 participant