mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-14 23:31:13 -07: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