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

[Request]: "bottles-cli run" should provide the output of the invoked windows application/program to STDOUT #3574

Closed
OrbitingOcelot opened this issue Nov 30, 2024 · 1 comment

Comments

@OrbitingOcelot
Copy link

OrbitingOcelot commented Nov 30, 2024

Tell us the problem or your need

I am using bottles to run some legacy win applications that perform various services, and have created programs for those applications. I need to parse the output of the applications in my scripts, however, if these programs are invoked via bottles-cli run, their output is not shown.

Example:

user@sys:$ flatpak run  --command=bottles-cli com.usebottles.bottles run -p 'MyProgram' -b SomeBottle
19:50:07 (INFO) Forcing offline mode 
wineserver: using server-side synchronization.
user@sys:$

I believe most users would expect to see the actual program out here, but it is not provided.

Describe the solution you'd like

user@sys:$ flatpak run  --command=bottles-cli com.usebottles.bottles run -p 'MyProgram' -b SomeBottle
19:50:07 (INFO) Forcing offline mode 
wineserver: using server-side synchronization.
!!!Output from the windows application/program goes here
!!!Output from the windows application/program goes here
!!!Output from the windows application/program goes here
user@sys:$

Other solutions?

It is possible to achieve this with "bottles-cli shell", however this is not very convenient to setup.
This could also be a command-line argument for "bottles-cli run" like for example "-o provide program output".

Additional context and references

No response

@mirkobrombin
Copy link
Member

Fixed by f31c0a7

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

2 participants