projects
/
PHP-P10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7173601
)
don't add .class to the java command - and define classpath
author
pk910
<philipp@zoelle1.de>
Sun, 27 Nov 2011 15:23:33 +0000
(16:23 +0100)
committer
pk910
<philipp@zoelle1.de>
Sun, 27 Nov 2011 15:25:53 +0000
(16:25 +0100)
Bots/JavaGod.class.php
patch
|
blob
|
history
diff --git
a/Bots/JavaGod.class.php
b/Bots/JavaGod.class.php
index 1c0023e058d6111d11157af6e5cf4b0e8f831dbe..7d72cce361cf26afa73d2031f1674857b19edb3e 100644
(file)
--- a/
Bots/JavaGod.class.php
+++ b/
Bots/JavaGod.class.php
@@
-136,7
+136,7
@@
class {$_NAME} extends Bot {
break;
}
$descriptor = array(0 => array("pipe", "r"),1 => array("pipe", "w"),2 => array("pipe", "w"));
- $entry['proc'] = proc_open('java
tmp/Debug_'.$entry['id'].'.class'
, $descriptor, $entry['pipes']);
+ $entry['proc'] = proc_open('java
-classpath tmp Debug_'.$entry['id']
, $descriptor, $entry['pipes']);
if(!is_resource($entry['proc'])) {
$this->uplink->notice($this->bot, $user, "error while loading c!");
return;