fix: auto-accept remote-control prompt to prevent immediate exit#1133
Merged
gavrielc merged 4 commits intoMar 16, 2026
Conversation
`claude remote-control` prompts "Enable Remote Control? (y/n)" on every launch. With stdin set to 'ignore', the process exits immediately because it cannot read the response. Pipe 'y\n' to stdin instead. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
systemd's default KillMode=control-group kills all processes in the cgroup on service restart, including the detached claude remote-control process. KillMode=process only kills the main Node.js process, letting detached children survive. restoreRemoteControl() already handles reattaching on startup. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
4 tasks
bogdano2
pushed a commit
to bogdano2/nanoclaw
that referenced
this pull request
Mar 17, 2026
…stdin-clean fix: auto-accept remote-control prompt to prevent immediate exit
5 tasks
om10001
pushed a commit
to om10001/nanoclaw
that referenced
this pull request
Mar 19, 2026
…stdin-clean fix: auto-accept remote-control prompt to prevent immediate exit
justjayk
pushed a commit
to justjayk/nanoclaw
that referenced
this pull request
Mar 21, 2026
…stdin-clean fix: auto-accept remote-control prompt to prevent immediate exit
hamiz-ahmed
pushed a commit
to hamiz-ahmed/nanoclaw
that referenced
this pull request
Mar 24, 2026
…stdin-clean fix: auto-accept remote-control prompt to prevent immediate exit
talmosko-code
pushed a commit
to talmosko-code/nanoclaw
that referenced
this pull request
Apr 28, 2026
…stdin-clean fix: auto-accept remote-control prompt to prevent immediate exit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
claude remote-controlprompts "Enable Remote Control? (y/n)" on every launch. With stdin set to 'ignore', the process exits immediately because it cannot read theresponse. Pipe 'y\n' to stdin instead.
Type of Change
.claude/skills/Description
startRemoteControl()spawnsclaude remote-controlwithstdio: ['ignore', ...]. The CLI always prompts "Enable Remote Control? (y/n)" and exits when it can't readstdin. Changed to
'pipe'and writey\nbefore detaching.Tested manually via Discord
/remote-control— URL now returned successfully.