Cygwin commands are intermittently hanging on Windows

Derek Pagel Derek.Pagel@infor.com
Tue Nov 8 16:00:52 GMT 2022


my $TESTDIR = getcwd() . "\\test<file://test>"; my $MVCMD = "mv test.txt " . $TESTDIR . "\\test.txt<file://test.txt>"; my $RMCMD = "rm " . $TESTDIR . "\\test.txt test2.txt<file://test.txt%20test2.txt>";

Even using Strawberry Perl, "<file://xxx>" in above lines cause error.


Oh, I see, when I copy-pasted the script into the thread, it added a few code changes, and I missed cleaning up those ones. The script should be able to run if you remove " <file://test>", "<file://test.txt>" and " <file://test.txt%20test2.txt>" out of the above lines.


More information about the Cygwin mailing list