Skip to content
Merged
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
4 changes: 2 additions & 2 deletions pelix/shell/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -720,15 +720,15 @@ def main(argv: Optional[List[str]] = None) -> int:
try:
if args.no_input:
# No input required: just print the access to the shell
print("Remote shell bound to:", host, "- port:", port)
print("Remote shell bound to:", host, "- port:", port, file=sys.stderr)

try:
while not framework.wait_for_stop(1):
# Awake from wait every second to let KeyboardInterrupt
# exception to raise
pass
except KeyboardInterrupt:
print("Got Ctrl+C: exiting.")
print("Got Ctrl+C: exiting.", file=sys.stderr)
return 127
else:
# Prepare interpreter variables
Expand Down