Simulate KeyboardInterrupt with fabric

How do I fire a Ctrl+C with fabric, in other words is it possible to trigger KeyboardInterrupt manually via bash?

Answers


ctrl+c generates a SIGINT signal.

You can send a signal with kill -SIGINT pid where pid is the process id. you wish to signal. kill is a Bash built-in.


Need Your Help

Most Efficient Schema For This OR That, or This AND That

xml schema xsd

I'm trying to write an XML schema that allows XML to be expressed in the following ways:

Why 2 NULL pointers do not evaluate to false?

c++ pointers null boolean

I have a relatively simple algorithm that walks an std::vector looking for two neighbouring tuples. Once the tuples left and right of the X value are found I can interpolate between them. Somehow t...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.