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

Piping job run outputs not working #4424

Open
wdbaruni opened this issue Sep 17, 2024 · 1 comment
Open

Piping job run outputs not working #4424

wdbaruni opened this issue Sep 17, 2024 · 1 comment
Assignees
Labels
th/game-day Issues reported during game day testing

Comments

@wdbaruni
Copy link
Member

Previously we were able to do operations like:

# Submit and describe a job
bacalhau docker run --id-only ubuntu echo hello | xargs bacalhau job describe

# Submit and copy job id
bacalhau docker run --id-only ubuntu echo hello | pbcopy

But that is no longer possible. Might be related to rendering stdout for job progress visibility

@wdbaruni wdbaruni added the th/game-day Issues reported during game day testing label Sep 17, 2024
@frrist
Copy link
Member

frrist commented Sep 18, 2024

It appears that all output from the command is being written to stderr rather than stdout:

frrist@cypress ~/w/s/g/b/bacalhau (main)> bacalhau docker run --id-only ubuntu echo hello 2&> /dev/null
frrist@cypress ~/w/s/g/b/bacalhau (main)> bacalhau docker run --id-only ubuntu echo hello > /dev/null
j-4666e2c4-7926-4ad7-a133-3f1fd2752c70

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
th/game-day Issues reported during game day testing
Projects
Status: In Review
Development

No branches or pull requests

3 participants