Throw control-c to @spawn task?

Making control-c work with @spawn is a very hard problem.

But I don’t think you need @spawn here. Why not just use p = run(`play $args`; wait=false)? You can then kill(p).

1 Like