in reply to Re: Problem running shell command from Perl
in thread Problem running shell command from Perl
Well, I, for one, have upvoted your post because thanks to it I now know that MS-windows offers the CSCRIPT.EXE command which "Starts a script to run in a command-line environment." (https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/cscript). Just that sentence confirms to me that MS apart from incompetent developers also sports illiterate copy editors. Quite funny is the /nologo flag and that the maximum runtime is 9 hours (see /t:<seconds>) which is very wise since MS OSes need a reboot every couple of hours.
Apropos the content of your script, is this OK? $OLD =~ tr|\\||s; # Remove duplicate backslash. .
edit:false alarm for $OLD, sorry I missed the /s modifier
bw, bliako
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Problem running shell command from Perl
by Anonymous Monk on Jun 20, 2023 at 11:14 UTC | |
|