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

ags does not exit subprocesses upon quitting #444

Closed
keifufu opened this issue Jun 3, 2024 · 2 comments
Closed

ags does not exit subprocesses upon quitting #444

keifufu opened this issue Jun 3, 2024 · 2 comments

Comments

@keifufu
Copy link

keifufu commented Jun 3, 2024

Given the following variable:

const track = Variable("", {
  listen: "wnpcli metadata -f '{{artist}} - {{title}}' -F",
});

when running ags --quit wnpcli remains running.

I know i can use track.stopListening() to exit the process but I could not find a way to hook/listen to --quit.

@Aylur
Copy link
Owner

Aylur commented Jun 20, 2024

subprocesses are definitely not left unhandled by glib
are you sure the wnpcli process you is a child process of ags?

@keifufu
Copy link
Author

keifufu commented Jun 22, 2024

This happens with playerctl or and process that keeps open and prints to stdout too

@Aylur Aylur mentioned this issue Sep 25, 2024
Merged
@Aylur Aylur closed this as not planned Won't fix, can't repro, duplicate, stale Nov 13, 2024
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

2 participants