diff options
Diffstat (limited to 'docker/netiquette/src/io/run.mjs')
-rw-r--r-- | docker/netiquette/src/io/run.mjs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/docker/netiquette/src/io/run.mjs b/docker/netiquette/src/io/run.mjs deleted file mode 100644 index 8774043..0000000 --- a/docker/netiquette/src/io/run.mjs +++ /dev/null @@ -1,9 +0,0 @@ -'use strict' - -import child_process from 'child_process' - -export const exec = (cmd, opts) => - new Promise((resolve, reject) => - child_process.exec(cmd, opts, (error, stdout, stderr) => - error ? reject({err: error, stdout: stdout, stderr: stderr}) : resolve({stdout: stdout, stderr: stderr}))) - |