mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 08:47:44 +00:00
Mk nohup (#3285)
This commit is contained in:
@@ -184,7 +184,7 @@ export async function main() {
|
||||
}
|
||||
// If not a TTY, read from stdin
|
||||
// This is for cases where the user pipes input directly into the command
|
||||
if (!process.stdin.isTTY) {
|
||||
if (!process.stdin.isTTY && !input) {
|
||||
input += await readStdin();
|
||||
}
|
||||
if (!input) {
|
||||
|
||||
Reference in New Issue
Block a user