mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-01 05:00:46 +00:00
Mk nohup (#3285)
This commit is contained in:
parent
ab96676e36
commit
4963a1eea8
3 changed files with 37 additions and 10 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue