Skip to content

fdncred/nu_plugin_bg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nu_plugin_bg

This is a nushell pluging that attempts to start programs in the background.

Usage:

 bg --help
Start a process in the background.

Usage:
  > bg {flags} <command>

Flags:
  -h, --help - Display the help message for this command
  -a, --arguments <List(String)> - The arguments of the command.
  -d, --debug - Debug mode
  -p, --pid - Return process ID

Parameters:
  command <string>: 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?

 bg cat -a [cargo.toml] -d
Starting process: 'cat' with args '["cargo.toml"]'
cat: cargo.toml: Broken pipe (os error 32)

About

A quick nushell plugin that spawns background tasks

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages