Aha!!
This commit is contained in:
parent
d23cf6b81f
commit
d7c06b8a47
|
@ -192,7 +192,9 @@ export function deptyify({ handlePtyInput, handlePtyExit }) {
|
|||
});
|
||||
const proc = spawn(
|
||||
`${process.cwd()}/system/out/riju-pty`,
|
||||
["-f", "sh", "-c", "cat > input & cat output"],
|
||||
// Order is important, stdin can't be read properly from
|
||||
// the background without more configuration
|
||||
["-f", "sh", "-c", "cat output & cat > input"],
|
||||
{
|
||||
cwd: dir.path,
|
||||
stdio: "inherit",
|
||||
|
|
Loading…
Reference in New Issue