db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel John Debrunner (JIRA)" <j...@apache.org>
Subject [jira] Created: (DERBY-3250) NetworkServerTestSetup will fail when starting the server as a process if any of the command line arguments contains a space
Date Tue, 04 Dec 2007 20:26:43 GMT
NetworkServerTestSetup will fail when starting the server as a process if any of the command
line arguments contains a space
----------------------------------------------------------------------------------------------------------------------------

                 Key: DERBY-3250
                 URL: https://issues.apache.org/jira/browse/DERBY-3250
             Project: Derby
          Issue Type: Bug
          Components: Test
    Affects Versions: 10.4.0.0
            Reporter: Daniel John Debrunner
            Priority: Minor


I was seeing failures in derbynet._Suite since my CLASSPATH environment variable included
a jar with a space, ie. a jar in the windows folder "Program Files".
The command line argument built by NetworkServerTestSetup.startSeparateProcess() does not
escape any of the arguments.

Probably would be better to use Runtime. exec(String[] cmdarray) and not  Runtime.exec(String
cmd)



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message