0.1.1 • Published 5 years ago
cordova-plugin-systemcommand v0.1.1
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.
0.1.1
5 years ago