Summary: | Finding Temp folder fails when username contains parenthesis | ||
---|---|---|---|
Product: | [JogAmp] Gluegen | Reporter: | Tony <trozzi1> |
Component: | core | Assignee: | Sven Gothel <sgothel> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | trozzi1 |
Priority: | P2 | ||
Version: | 2.6.0 | ||
Hardware: | All | ||
OS: | windows | ||
Type: | DEFECT | SCM Refs: |
c8cb87e17a14281a9d0e2f311b8534ecb7ac00b4
0f731bfabcdd19665c3c09c5f40f898101c501c9
|
Workaround: | --- |
Description
Tony
2023-10-16 18:20:36 CEST
Thank you Tony! Will be resolved for 2.6.0. commit c8cb87e17a14281a9d0e2f311b8534ecb7ac00b4 Bug 1474: Allow temp folder for exe-file test to contain parenthesis on Windows If the temp path contains parenthesis on Windows, e.g. the username or the sub-temp folder, the used exeTestFile.getCanonicalPath() can't be used by 'Runtime.getRuntime().exec( path )'. Example: C:\Users\(ABC)abc\AppData\Local\Temp Output: Exe-Tst: 'C:\Users\' is not recognized as an internal or external command, operable program or batch file. Hence the complete canonical path must be quoted, i.e. Path: "C:\Users\(ABC)abc\AppData\Local\Temp" |