Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
prunner
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rx-etersoft
prunner
Commits
f48319c2
Commit
f48319c2
authored
Mar 10, 2018
by
Pavel Vainerman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update README and help
parent
8f40baa7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
README.md
README.md
+6
-6
prunner
bin/prunner
+3
-3
No files found.
README.md
View file @
f48319c2
...
...
@@ -15,15 +15,15 @@ Usage
Help
----
-d | --run-from-dir dir - run program from directory
-f | --run-from-file file - run program from file
-r | --run '
[
params
]
prog args..' - run program from command line"
-d | --run-from-dir dir - run program
s
from directory
-f | --run-from-file file - run program
s
from file
-r | --run '
[
params
]
prog args..' - run program
s
from command line"
-p | --monitor-pid pid - pid of main process (for monitoring)
-v | --verbose - Print info messages
-V | --version - Version info
--disable-monitor - only run process
-c | --check-period sec - period for check processes. Default: 5 sec
-t | --terminate-timeout sec - timeout for teminate processes (then the processes will be killed). Default: 5 sec
--disable-monitor - only run process
Example 1 (run from directory)
------------------------------
...
...
@@ -44,9 +44,9 @@ Example 2 (run from file)
[
restart
]
prog1 arg1 arg2
# comment 1
[
ignore_fail,restart
]
prog2 arg1 arg2
[
restart=5
]
prog2 arg1 arg2
# comment 2
[
verbose,shell=
False
]
prog3
[
verbose,shell=
0
]
prog3
prog4 arg1 arg2
prog5 arg1
...
...
bin/prunner
View file @
f48319c2
...
...
@@ -357,9 +357,9 @@ def read_from_commandline(param):
def
usage
():
print
"[-d|--run-from-dir] dir - run program
m
from directory"
print
"[-f|--run-from-file] file - run program
m
from file"
print
"[-r|--run] '[params]prog args..' - run program
m
from command line"
print
"[-d|--run-from-dir] dir - run program
s
from directory"
print
"[-f|--run-from-file] file - run program
s
from file"
print
"[-r|--run] '[params]prog args..' - run program
s
from command line"
print
"[-p|--monitor-pid] pid - pid of main process (for monitoring)"
print
"[-v|--verbose] - Print info messages"
print
"[-V|--version] - Version info"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment