0.1.1 • Published 6 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.gitUsage
exec
systemcommand.exec(command, successCallback, errorCallback);- =>
successCallbackis called in case successful call - =>
errorCallbackis called if something went wrong
Example
systemcommand.exec('whoami', x => console.log(x), x => console.log(x));Platform Support
Android only.
0.1.1
6 years ago