Skip to content

Instantly share code, notes, and snippets.

@zavr-1
Last active December 5, 2018 06:10
Show Gist options
  • Save zavr-1/1167a72e160a915b8fc0098e6dc31c18 to your computer and use it in GitHub Desktop.
Save zavr-1/1167a72e160a915b8fc0098e6dc31c18 to your computer and use it in GitHub Desktop.
// tt.js (compiled code in PRETTY_PRINT)
const DEPACK$child_process = require('child_process');
'use strict';
const {fork:a} = DEPACK$child_process;
const {stdout:b, stderr:c} = a(".", [], {stdio:"pipe", execArgv:[]}).on("error", (d) => {
console.log(d);
});
b.pipe(process.stdout);
c.pipe(process.stderr);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment