Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fdncred/nu_plugin_bg
https://github.com/fdncred/nu_plugin_bg
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/fdncred/nu_plugin_bg
- Owner: fdncred
- License: mit
- Created: 2023-12-19T19:00:02.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-08-22T12:38:26.000Z (3 months ago)
- Last Synced: 2024-08-22T14:12:01.054Z (3 months ago)
- Language: Rust
- Size: 123 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nu_plugin_bg
This is a nushell pluging that attempts to start programs in the background.
## Usage:
```nushell
❯ bg --help
Start a process in the background.Usage:
> bg {flags}Flags:
-h, --help - Display the help message for this command
-a, --arguments - The arguments of the command.
-d, --debug - Debug mode
-p, --pid - Return process IDParameters:
command : The command to start in the background.Examples:
Start a command in the background
> bg some_command --arguments [arg1 --arg2 3]
```## Known Issues
If you start a program that writes to stdout, you'll get an error. This what I get on my Mac and I'm not really sure what it means. It could have nothing to do with writing to stdout?
```nushell
❯ bg cat -a [cargo.toml] -d
Starting process: 'cat' with args '["cargo.toml"]'
cat: cargo.toml: Broken pipe (os error 32)
```