0.1.1 • Published 5 years ago

cordova-plugin-systemcommand v0.1.1

Weekly downloads
3
License
ISC
Repository
github
Last release
5 years ago

System Commands Plugin for Apache Cordova

Cordova Plugin for calling system commands.

Install

Locally

cordova plugin add https://github.com/kelvionald/cordova-plugin-systemcommand.git

Usage

exec

systemcommand.exec(command, successCallback, errorCallback);
  • => successCallback is called in case successful call
  • => errorCallback is called if something went wrong

Example

systemcommand.exec('whoami', x => console.log(x), x => console.log(x));

Platform Support

Android only.