Skip to content

vanillaiice/vrespawn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

V Respawn

Respawn a program after it gets killed.

Usage

respawn --program example --max-retry 2 --retry-time 3 --args "-n Ed Edd Eddy"

Arguments

--program or -p (mandatory)

Path to the program to respawn after it gets killed.

--args or -a (optional)

Arguments to be passed to the program. The arguments must be enclosed in single or double quotes.

--work-folder or -f (optional)

Path to the work folder for the program. If omitted, the value will be the current directory.

--max-retry or -r (optional)

Number of times to respawn the program. If omitted, the value will be 3.

--retry-time or -t (optional)

Time in seconds between each respawn. If omitted, the value will be 0.

Installation

> git clone https://github.com/vanillaiice/vrespawn
> cd vrespawn
> v .
// or
> make

Development dependencies

  • v
  • make (optional)
  • MinGW-w64 (optional, for windows cross compilation)

Licence

BSD-3-Clause

About

V program to respawn a program after it gets killed.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published