projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
225c429
)
Notify.php
author
Alan Knowles
<alan@roojs.com>
Mon, 29 Apr 2013 02:31:20 +0000
(10:31 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 29 Apr 2013 02:31:20 +0000
(10:31 +0800)
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
1185e25
..
8d2e241
100644
(file)
--- a/
Notify.php
+++ b/
Notify.php
@@
-254,6
+254,13
@@
class Pman_Core_Notify extends Pman
$pipe = array();
echo "call proc_open $cmd\n";
+
+
+ if (!empty($this->opts['dryrun'])) {
+ echo "DRY RUN\n";
+ return;
+ }
+
$p = proc_open($cmd, $descriptorspec, $pipes, $cwd );
$info = proc_get_status($p);
$this->pool[] = array(