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

windows --compile --run doesn't have app output #51

Closed
RblSb opened this issue Nov 3, 2023 · 3 comments
Closed

windows --compile --run doesn't have app output #51

RblSb opened this issue Nov 3, 2023 · 3 comments

Comments

@RblSb
Copy link
Contributor

RblSb commented Nov 3, 2023

If you run exe from cli for yourself, app log is here

@RobDangerous
Copy link
Member

Are you sure about that? I don't get output from Windows executables when I run them manually from a console window - which is normal for Windows.

@RblSb
Copy link
Contributor Author

RblSb commented Nov 3, 2023

Not sure about second part then, but i found that you need to replace vscode khamake task with --compile --run to --compile without run, and then open generated file with another shell task, to get app log in output

@RobDangerous
Copy link
Member

Ah, with Kha it works. And it doesn't give control back to the console. That's not how a graphical application on Windows is supposed to work though so I'd file that behavior as a Kha bug actually. Probably something that hxcpp is doing.
That said, kmake could probably catch the debug output of the application like Visual Studio does and that would be useful and would work with Kinc and Kha so I'll have a look at that.

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

2 participants