https://pantsbuild.org/ logo
#development
Title
# development
h

happy-kitchen-89482

11/13/2019, 6:46 PM
I'm running a cpu-bound algorithm inside a rule (detecting all cycles in a digraph) and I cannot ctrl-c out of it (this is with
--v2-ui
set, in case that matters)
a

aloof-angle-91616

11/13/2019, 7:06 PM
@hundreds-breakfast-49010 is this expected behavior?
or is this the opposite problem from handling subprocess signals
h

hundreds-breakfast-49010

11/13/2019, 7:08 PM
only for the
run
goal, but it's possible that my code that deliberately suppresses ctrl-c in the
run
goal is somehow getting executed when it shouldn't be
if so that's a bug
@happy-kitchen-89482 what pants command were you running?
a

aloof-angle-91616

11/13/2019, 7:11 PM
i think this is expected behavior actually
or no forget me
h

happy-kitchen-89482

11/13/2019, 7:25 PM
I was running a custom console_rule, that yielded to the rule that blocked on CPU-bound work.
Not the
run
goal.
a

aloof-angle-91616

11/13/2019, 7:26 PM
the solution that greg applied for the
run
goal i think would apply here
don't have enough bandwidth right now to investigate until like 3pm today