billbarker 2004/02/10 22:52:24
Modified: daemon/src/native/nt/procrun procrun.c
Log:
Add support for --WorkingPath when using the in-proc option.
Fix for bug #26806.
Reported By: Robert Herold [EMAIL PROTECTED]
Revision Changes Path
1.14 +3 -1 jakarta-commons/daemon/src/native/nt/procrun/procrun.c
Index: procrun.c
===================================================================
RCS file: /home/cvs/jakarta-commons/daemon/src/native/nt/procrun/procrun.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- procrun.c 11 Feb 2004 05:11:48 -0000 1.13
+++ procrun.c 11 Feb 2004 06:52:24 -0000 1.14
@@ -1326,7 +1326,9 @@
DBPRINTF1("Found: %X expecting 1.2 Java Version\n", jvm_version);
return -1;
}
-
+ if(proc->service.path != NULL) {
+ SetCurrentDirectory(proc->service.path);
+ }
optn = make_array(proc->java.opts, opts, 30, proc);
for (i = 0; i < optn; i++)
options[i].optionString = remove_quotes(opts[i]);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]