mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-08-20 20:41:29 +12:00
15 lines
872 B
Markdown
15 lines
872 B
Markdown
## Execution types
|
|
|
|
There are two distinct execution types when XPipe connects to a system.
|
|
|
|
### In the background
|
|
|
|
The first connection to a system is made in the background in a dumb terminal session.
|
|
|
|
Blocking commands that require user input can freeze the shell process when XPipe starts it up internally first in the background. To avoid this, you should only call these blocking commands in the terminal mode.
|
|
|
|
The file browser for example entirely uses the dumb background mode to handle its operations, so if you want your script environment to apply to the file browser session, it should run in the dumb mode.
|
|
|
|
### In the terminals
|
|
|
|
After the initial dumb terminal connection has succeeded, XPipe will open a separate connection in the actual terminal. If you want the script to be run when you open the connection in a terminal, then choose the terminal mode.
|