Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/brianegan/node-growl into i…
Browse files Browse the repository at this point in the history
…ntegration
  • Loading branch information
tj committed Mar 26, 2010
2 parents eb09dcc + 861595b commit 24156f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/growl.js
Expand Up @@ -5,7 +5,7 @@
* Module dependencies.
*/

var sys = require('sys'),
var child_process = require('child_process'),
path = require('path')

/**
Expand All @@ -22,7 +22,7 @@ exports.version = '1.0.0'
*/

exports.binVersion = function(callback) {
sys.exec('growlnotify -v', function(err, stdout, stderr){
child_process.exec('growlnotify -v', function(err, stdout, stderr){
if (err) callback(err)
else callback(null, stdout)
})
Expand Down Expand Up @@ -76,6 +76,6 @@ exports.notify = function(msg, options, callback) {
if (options.sticky) args.push('--sticky')
if (options.name) args.push('--name', options.name)
if (options.title) args.push(options.title)
sys.exec(args.join(' '), callback)
child_process.exec(args.join(' '), callback)
})
}

0 comments on commit 24156f8

Please sign in to comment.