Running in linux; if i execute something with backticks or system; is there anyway to then send a control C into that process via perl?
Or does that have to happen outside of perl?
I want to use that on trace-cmd; which prompts on waiting for control c. If i kill the process; that does not seem to get handled by trace-cmd in the same way as doing a control c. (it does not generate a trace.dat and my attempts to join the trace files it does make so far have not worked.) It would seem id be better off with ftrace or the daemon option. I messed with daemon and could not get it working but overall do not want to go down another rabbit hole...
Just seems like there should be a perl way to get a control c into this process... If there isn't a perl way; i guess i'll suck it up.... Thanks
Thanks