This project is closed and read-only.
Actions
Backport #7143
closedsystem("ls && ls") should work in windows
Backport #7143:
system("ls && ls") should work in windows
Status:
Closed
Assignee:
Description
Hello.
Since windows "on the command line" supports &&, I believe this should work for ruby system commands.
It appears this run both commands, as expected (the first one fails):
using "||" works well:
system("ffmpeg -i || ls") # ffmpeg -i fails
using &&
system("ls && ls")
ls: &&: No such file or directory
ls: ls: No such file or directory
=> false
Thanks.
-roger-
Actions