Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for all apps #8

Open
ericuldall opened this issue Mar 29, 2016 · 0 comments
Open

Add Support for all apps #8

ericuldall opened this issue Mar 29, 2016 · 0 comments

Comments

@ericuldall
Copy link
Member

Add adapters to allow any command line app to be used as a Termoil SubRoutine

Example:

var cp = new Termoil.NativeSubRoutine('cp');
      process.stdin.pipe(cp.stdin);
      cp.stdout.on(function(data){
          //use output from native app in your app
      });

Possible use cases:

  • End your arguments with a native SubRoutine
  • Pipe data through native subroutines
  • Pipe native subroutines through other subroutines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant