Skip to content

octo-utils/exec-async

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@octo-utils/exec-async

exec

import { exec } from "../index.js"

exec("node -v").then(console.log) // 13.5.0

spwan

import { spawn } from "../index.js"

spawn("node", ["-v"]).then(console.log) // 13.5.0

spwan (inherit stdout)

inherit stdout from the master process Notice. stdoutInherit: true makes childprocess alwasy return null.

import { spawn } from "../index.js"

spawn("node", ["-e", "console.log(require('tty').isatty(1))"], { stdoutInherit: true }).then(console.log) // null
// true

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages