Licence
ISC
Version
0.1.1
Deps
0
Size
5 kB
Vulns
0
Weekly
0
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);- =>
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.