cordova-plugin-systemcommand
v0.1.1
Published
Cordova Plugin for calling system commands.
Downloads
4
Maintainers
Readme
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.
