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

Option to flush stdout before the job is finished #660

Closed
frafra opened this issue Oct 5, 2020 · 3 comments
Closed

Option to flush stdout before the job is finished #660

frafra opened this issue Oct 5, 2020 · 3 comments

Comments

@frafra
Copy link

frafra commented Oct 5, 2020

Hi,
I have a Bash function which is executed by fd in parallel using -x bash -c "custom_function {}". Such function requires various minutes to be executed and it prints some output at some intermediate steps, but I do not see any until the task ends.

Would it be possible to handle such scenarios? For example, having an option to flush stdout every time a delimiter is reached (like a newline).

@sharkdp
Copy link
Owner

sharkdp commented Oct 5, 2020

please see #522 and #620.

closing this, unless you think it's not the same issue.

@frafra
Copy link
Author

frafra commented Oct 5, 2020

I am sorry for the duplicate, I used the search function but I got no results (different keywords).

@sharkdp
Copy link
Owner

sharkdp commented Oct 5, 2020

no worries :-)

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