1.0.6 • Published 3 years ago

appcd-subprocess-manager v1.0.6

Weekly downloads
11
License
Apache-2.0
Repository
github
Last release
3 years ago

appcd-subprocess-manager

Appc Daemon subprocess service.

Visit https://github.com/appcelerator/appc-daemon for more information.

Report issues to GitHub issues. Official issue tracker in JIRA.

Installation

npm i appcd-subprocess-manager

Usage

import SubprocessManager from 'appcd-subprocess-manager';

const manager = new SubprocessManager();
Dispatcher.register('/subprocess', manager);

const ctx = await Dispatcher.call('/subprocess/spawn', {
	args: [ process.execPath, '--version' ]
});

console.log(ctx.response);

Legal

This project is open source under the Apache Public License v2 and is developed by Axway, Inc and the community. Please read the LICENSE file included in this distribution for more information.