RFR: 8353489: Increase timeout and improve Windows compatibility in test/jdk/java/lang/ProcessBuilder/Basic.java
Oleksii Sylichenko
duke at openjdk.org
Thu May 1 22:01:07 UTC 2025
On Thu, 1 May 2025 21:30:30 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
>> In Windows CMD, the `echo` command, when called without arguments, displays the current state of the command echoing mode — either enabled (`ON`) or disabled (`OFF`). For the case when this test is run from IntelliJ IDEA.
>>
>> And the `echo.` command with the `.` works the same way as calling `echo` without parameters in Unix — it outputs an empty line.
>>
>> And to ensure that the `echo.` command is supported in Cygwin, we need to invoke it via `cmd /c echo.`.
>
> Is `echo.` shorthand for `echo.exe`; if so, please change to the long form to make it clearer the echo program is being run.
No, `echo.` is not an executable, this is a command of the Windows Command Processor.
See: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/echo
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23933#discussion_r2070858894
More information about the core-libs-dev
mailing list