-
Notifications
You must be signed in to change notification settings - Fork 12
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
Failing to capture output of initial .postln in Routines and tasks #70
Comments
Also, class and method lookup isn't working for anything from the default library. Not sure if that's related. This has changed since the atom-sc update. |
Confirmed. If you turn on debug in the settings then it posts the stdin/stdout traffic:
So capture is somehow not enabled for that first hi. |
Class method lookup works for Extensions and quarks. My tree looks like that..project folder SCClassLibrary Extensions then Quarks. There's a .tags and .tags1 in my project folder. When I turn on debug nothing seems to happen. Is that in the post window or somewhere else? |
try Rebuild Tags and look in the console to see if atom-ctags is posting any errors. |
fixed. I understand now what happens. The state parser (sclang-io) is capturing the output of the evaluation. The result is "a Routine" - but in the same STDOUT blurp sclang forks and posts "hi" before it returns "a Routine" Thanks very much for the clear and reproducible report ! I do unit tests with these to make sure the state parser is solid: |
{"hi".postln; 1.wait; "hello".postln}.fork
This code, only in atom, returns hello, instead of hi and then hello. Any idea why? I'm trying to schedule other processes and not sure why it isn't working.
Tdef does work as expected but not task or routine.
Thanks.
The text was updated successfully, but these errors were encountered: