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

Exiting Alda REPL in "server only" mode kills all player processes #417

Open
daveyarwood opened this issue Apr 16, 2022 · 0 comments
Open

Comments

@daveyarwood
Copy link
Member

🐞 Bug report 🐞

Description

Player processes are supposed to outlive the execution of the Alda client, and they generally do, except, for some reason, in the case of running an Alda REPL in "server only" mode.

Steps to Reproduce

  1. In a separate terminal, monitor the state of the player processes by running watch alda ps.
  2. Start from a clean state by running alda shutdown to shut down all current player processes.
  3. Run alda repl -s to start a REPL server.
  4. Interrupt the process.

Expected Behavior

  • The REPL server process disappears from the alda ps output.
  • The player processes remain alive and continue to be present in the alda ps output.

Actual Behavior

All of the processes die and disappear from the alda ps output.

Environment

Operating system and version: Ubuntu 20.04

Alda version:

$ alda version
alda 2.2.1
$ alda-player info
alda-player 2.2.1
log path: /home/dave/.cache/alda/logs

Health check:

$ alda doctor
(all passing)
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

1 participant