Skip to content

Commit

Permalink
interactive command++
Browse files Browse the repository at this point in the history
  • Loading branch information
vindarel committed Jan 27, 2024
1 parent b25b919 commit e3513f5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions os.md
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ We can bind them with `multiple-value-bind`:
(format t "error output is: ~a" error-output)))
~~~

### Running visual commands (htop)
### Running interactive and visual commands (htop)

Use `uiop:run-program` and set both `:input` and `:output` to `:interactive`:

Expand All @@ -463,8 +463,7 @@ Use `uiop:run-program` and set both `:input` and `:output` to `:interactive`:

This will spawn `htop` in full screen, as it should.

It works for more commands (`sudo`, `vim`…), however not for all interactive
programs, such as `less` or `fzf`.
It works for more commands (`sudo`, `vim`, `less`…).

## Piping

Expand Down

0 comments on commit e3513f5

Please sign in to comment.