Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
146 changes: 0 additions & 146 deletions .github/workflows/cursor.yml

This file was deleted.

6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions src/utils/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ export async function executeCommand(

const child = spawn(file, escapedArgs, spawnOptions);

// Close stdin to prevent processes like codex exec from waiting forever for input
// When spawned with stdio pipe, codex waits for stdin EOF that never arrives
child.stdin?.end();

let stdout = '';
let stderr = '';
let stdoutTruncated = false;
Expand Down Expand Up @@ -164,6 +168,10 @@ export async function executeCommandStreaming(

const child = spawn(file, escapedArgs, spawnOptions);

// Close stdin to prevent processes like codex exec from waiting forever for input
// When spawned with stdio pipe, codex waits for stdin EOF that never arrives
child.stdin?.end();

let stdout = '';
let stderr = '';
let stdoutTruncated = false;
Expand Down
Loading