This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I see 2 stable test failures on Cygwin(Windows 7) test machine and 5 failures on MSYS2(Windows 8.1) test machine. Scenario: - Create Welcome project - Build project - Call "Project Properties" window - Select "Launcher" category and press New button ==> in "Run Command" field I see "${PROJECT_DIR}/${OUTPUT_PATH}" message - Set new command in "Run Command" field: a) echo 1 2 3 b) "${OUTPUT_PATH}" 1 2 3 c) ${OUTPUT_PATH} 1 2 3 d) ./dist/Debug/MinGW-Windows/welcome_3.exe 1 2 3 - Push OK button - Call context menu on projects node and select Run|launcher1000 ===> NetBeans 8.2 - OK NetBeans trunk: Cannot run program ""dist/Debug/MinGW-Windows/welcome_2" 1 2 3" (in directory "C:\Users\apepin\Documents\NetBeansProjects\Welcome_2"): CreateProcess error=2, The system cannot find the file specified RUN LAUNCHER1000 FAILED (exit value -2, total time: 21ms)
On Cygwin test machine such test case fails: - Create Welcome project - Build project - Call "Project Properties" window - Select "Launcher" category and press New button - Set "echo 1 2 3" in "Run Command" field - Set "echo 1 2 3" in "Build Command" field - Push OK button - Call context menu on projects node and select Run|launcher1000 ===> ok - Call context menu on projects node and select Build|launcher1000 ===> cd 'C:\Users\vsoldato\Documents\NetBeansProjects\Welcome_1' echo 1 2 3 Cannot run program "echo 1 2 3" (in directory "C:\Users\vsoldato\Documents\NetBeansProjects\Welcome_1"): CreateProcess error=2, The system cannot find the file specified BUILD FAILED (exit value -2, total time: 58ms) P.S. No failures if I use 'echo "1 2 3"' instead of 'echo 1 2 3'