Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.38 KB

command-interruption.md

File metadata and controls

40 lines (28 loc) · 1.38 KB
layout default
title Command Interruption
parent Features
nav_order 10

Command Interruption

Stay in control of your shell environment with intuitive command handling in Forge.

Key Features

  • Cancel with CTRL+C: Gracefully interrupt ongoing operations, providing the flexibility to halt processes that no longer need execution.
  • Exit with CTRL+D: Easily exit the shell session without hassle, ensuring you can quickly terminate your operations when needed.

Benefits

These command interruption capabilities provide several advantages:

  1. User Control: Maintain control over your environment at all times
  2. Workflow Flexibility: Easily interrupt tasks when priorities change
  3. Time Saving: Don't waste time waiting for unnecessary operations to complete
  4. Error Recovery: Quickly stop operations if you notice they're not what you intended
  5. Session Management: Cleanly exit when you're done with your work

Usage Scenarios

Using CTRL+C

  • Interrupt a long-running command that's taking too long
  • Stop an operation when you realize it's not what you wanted
  • Cancel a file operation before it makes unwanted changes
  • Halt a process that's producing unexpected output

Using CTRL+D

  • Exit the Forge shell when you've completed your tasks
  • Close the current session to start a new one
  • Cleanly terminate Forge when switching contexts