Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Native bindings to launchctl commands for node
C++ JavaScript Shell

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
node_modules
src
.gitignore
Makefile
README.md
binding.gyp
package.json
test.js

README.md

node-launchctl

Provides native bindings to launchctl commands

Install

    npm install launchctl

Usage

    var ctl = require('launchctl');
    ctl.list(function(err, jobs) {
        console.log(jobs);
    });

Functions

  • list

    • list(function(err, jobs) {})
      • Get all jobs
    • list(, function(err, job) {})
      • Get job with label
    • list(/regex/, function(err, jobs) {})
      • Get jobs matching provided regex
  • listSync

    • Synchronous version of list
  • startSync

    • startSync()
      • Starts a job with the given label
  • stopSync -stopSync() - Stops a job with the given label

TODO

Add more functions

  • load
  • unload
  • submit

Contributions

  • Please feel free to fork/contribute :]
Something went wrong with that request. Please try again.