mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-04 16:40:41 +00:00
Remove outdated FIXMEs about consuming extra stdin data
This commit is contained in:
@@ -83,7 +83,6 @@ function spawn_process(ctx, executablePath) {
|
||||
// Repeatedly copy data from stdin to the child, while it's running.
|
||||
let data, done;
|
||||
const next_data = async () => {
|
||||
// FIXME: This waits for one more read() after we finish.
|
||||
({ value: data, done } = await Promise.race([
|
||||
exit_promise, sigint_promise, ctx.externs.in_.read(),
|
||||
]));
|
||||
@@ -135,7 +134,6 @@ function spawn_pty(ctx, executablePath) {
|
||||
// Repeatedly copy data from stdin to the child, while it's running.
|
||||
let data, done;
|
||||
const next_data = async () => {
|
||||
// FIXME: This waits for one more read() after we finish.
|
||||
({ value: data, done } = await Promise.race([
|
||||
exit_promise, sigint_promise, ctx.externs.in_.read(),
|
||||
]));
|
||||
|
||||
@@ -86,7 +86,6 @@ export class PuterAppCommandProvider {
|
||||
// DRY: Initially copied from PathCommandProvider
|
||||
let data, done;
|
||||
const next_data = async () => {
|
||||
// FIXME: This waits for one more read() after we finish.
|
||||
({ value: data, done } = await Promise.race([
|
||||
app_close_promise, sigint_promise, ctx.externs.in_.read(),
|
||||
]));
|
||||
|
||||
Reference in New Issue
Block a user