projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7da08f2
)
Notify.php
author
Alan Knowles
<alan@akbkhome.com>
Sun, 16 Jun 2013 13:58:41 +0000
(21:58 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sun, 16 Jun 2013 13:58:41 +0000
(21:58 +0800)
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
7e4f65e
..
1b00e61
100644
(file)
--- a/
Notify.php
+++ b/
Notify.php
@@
-309,6
+309,11
@@
class Pman_Core_Notify extends Pman
$p = proc_open($cmd, $descriptorspec, $pipes, $cwd );
$info = proc_get_status($p);
+
+ if ($this->nice_level !== false) {
+ $rcmd = "$renice 19 {$info['pid']}";
+ `$rcmd`;
+ }
$this->pool[] = array(
'proc' => $p,
'pid' => $info['pid'],