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

StandardOutput handling issues (Moonlight-Qt CLI) #1270

Closed
Searaphim opened this issue May 2, 2024 · 0 comments
Closed

StandardOutput handling issues (Moonlight-Qt CLI) #1270

Searaphim opened this issue May 2, 2024 · 0 comments

Comments

@Searaphim
Copy link

Searaphim commented May 2, 2024

Describe the bug
Moonlight-qt CLI doesn't handle stdout in a way that allows for automation.

Steps to reproduce

  • Try a simple redirection: ./moonlight.exe list someip > output.txt
  • notice how the file is empty even though your list was printed to the console.

Other Moonlight clients

  • Most likely not.

Moonlight settings (please complete the following information)

  • Have any settings been adjusted from defaults? No
  • If so, which settings have been changed? N/A
  • Does the problem still occur after reverting settings back to default? N/A

Client PC details (please complete the following information)

  • OS: Windows 10 19045
  • Moonlight Version: v5.0.1
  • GPU: N/A
  • Linux package type (if applicable): N/A

Server PC details (please complete the following information)

  • OS: Windows 10 19045
  • Sunshine or GeForce Experience version: Sunshine [v0.23.1]
  • GPU: N/A
  • GPU driver: N/A

Additional context

  • I suspect that it is because before quitting; Qt is doing it's own redirection to write to the log files.
  • You can try binding to stdout in other ways such as C# or C++ and all of them fail to properly catch the output on app exit.
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