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

Pantsd doesn't properly close its output in some way #5510

Closed
illicitonion opened this issue Feb 23, 2018 · 4 comments
Closed

Pantsd doesn't properly close its output in some way #5510

illicitonion opened this issue Feb 23, 2018 · 4 comments

Comments

@illicitonion
Copy link
Contributor

illicitonion commented Feb 23, 2018

The following works fine and exits:

cat <(./pants --no-pantsd list 3rdparty:: >/dev/null)

The following hangs forever, never closing the fd:

cat <(./pants --pantsd list 3rdparty:: >/dev/null)

This makes it hard to use pants's more query-ish goals (like dependencies and dependees) in scripts.

@illicitonion
Copy link
Contributor Author

@kwlzn You have been gaining a dangerous amount of experience in this corner of the world...

@kwlzn
Copy link
Member

kwlzn commented Feb 23, 2018

thanks for the repro, will take a look

@kwlzn kwlzn added this to the Daemon Post-Beta milestone Mar 1, 2018
@kwlzn kwlzn added this to TODO in Pants Daemon via automation Mar 7, 2018
@stuhood
Copy link
Sponsor Member

stuhood commented May 10, 2020

FTR, this looks like a client hang. Killing the server while a run is hung has no effect.

Will likely be fixed by #9402.

@stuhood stuhood removed this from the Daemon Backlog milestone May 22, 2020
@stuhood stuhood moved this from TODO to Future work in Pants Daemon Jun 1, 2020
@benjyw benjyw removed the pantsd label Sep 9, 2021
@thejcannon
Copy link
Member

I just tried this on Pants main and the command exited normally. Going to close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Pants Daemon
  
Future work
Development

No branches or pull requests

5 participants