Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Allowing process to exit via charm-specific method

  • Loading branch information...
commit 85b112507bdbc9d74ebc36c7df4bb505220c0cf1 1 parent 442d1bc
Mark Kahn authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 encode_folder
View
6 encode_folder
@@ -16,6 +16,12 @@ var fs = require( 'fs' )
, folder, progressBar, extRx, activeEncoder;
/**
+ * Allow app to exit!
+ **/
+charm.on( '^C', process.exit );
+
+
+/**
* Program Options
**/
program
Please sign in to comment.
Something went wrong with that request. Please try again.