Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fdncred/nu_plugin_bg


https://github.com/fdncred/nu_plugin_bg

Last synced: about 1 month ago
JSON representation

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 ID

Parameters:
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)
```