Re: vte



Johan Persson wrote:
Ok, so this might not be a gtk question, but this seemed like a nice place to ask.

I'm embedding a vte terminal in my program and I want to be able to cancel the process run by vte. I have looked at the vte_terminal_fork_command which gives me the pid of the process, which I can use to kill the process later. However I would like to avoid keeping track of processes and just run them in a bunch with vte_terminal_feed_child.
Therefor I was wondering if it is possible to simulate a ctrl-c on the vte widget or another way to just make 
the vte terminal cancel the current job without keeping track of pids. I've looked through the vte 
documentation and searched google but didn't find any similar solution or ideas.

The parent process can set up an anonymous pipe (before forking) to send terminate
commands to its children.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]