cordova-plugin-systemcommand

0.1.1 • Public • Published

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.

Package Sidebar

Install

npm i cordova-plugin-systemcommand

Weekly Downloads

0

Version

0.1.1

License

ISC

Unpacked Size

4.67 kB

Total Files

6

Last publish

Collaborators

  • kelvionald