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

Mac: Cmd+q appears to quit APL but can leave "invisible" background process running. #136

Open
JohnScholes opened this issue Mar 21, 2017 · 4 comments
Assignees
Labels
Milestone

Comments

@JohnScholes
Copy link
Contributor

RIDE Issue Report

Describe the issue you are having

If an APL process is looping, typing Cmd+q, or the equivalent using the Force Quit ... menu, kills the session window but leaves a dyalog process running.

Did you connect to an already running interpreter or start the interpreter from RIDE?

No

How do you reproduce the issue?

  {∇⍵}0      ⍝ hangs.

Now type Cmd+q ... Quit Dyalog APL. Are you sure? Yes
The application appears to quit and disappears from the ->Force Quit... list of running applications. However, the dyalog process continues to run, using 100% of a core.

Paste the contents of Help → About (Shift+F1)

IDE:
Version: 4.0.2749
Platform: MacIntel
Date: 2017-03-17 13:59:13 +0000
Git commit: f75e3cf
Preferences:{
"lineNums":"0",
"zoom":"7"
}

Interpreter:
Version: 16.0.29523
Platform: Mac-64
Edition: Unicode/64
Date: Mar 19 2017 at 02:32:01

@jayfoad
Copy link
Contributor

jayfoad commented Mar 21, 2017

This might be an unfortunate consequence of 8d08385 where we "detached" spawned APL processes from the main RIDE process, in order to make things work better on Windows.

@johndaintree
Copy link
Contributor

johndaintree commented Mar 21, 2017 via email

@JohnScholes
Copy link
Contributor Author

JohnScholes commented Mar 21, 2017 via email

@jayfoad jayfoad added this to the RIDE 4.1 milestone Sep 29, 2017
@jayfoad jayfoad self-assigned this Sep 29, 2017
@jayfoad
Copy link
Contributor

jayfoad commented Oct 16, 2017

I've fixed this in interpreter version 17.0.31160 for the case where the interpreter is weak-interruptible. You still get the same problem with loops like -⍣=1 which only respond to a strong interrupt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants