RE: Cygwin commands are intermittently hanging on Windows

2022-11-08 Thread Derek Pagel via Cygwin
Windows 10 Professional (64 bit) 22H2 Version 10.0.19045.2130 Cygwin: CYGWIN_NT-10.0-19045 HP-Z230 3.3.6-341.x86_64 2022-09-05 11:15 UTC x86_64 Cygwin And you? I've seen the issue on Windows Server 2012 R2 Version 6.3 (Build 9600) and Windows Server 2019 Version 1809 (OS Build 17763.3532) with

Re: Cygwin commands are intermittently hanging on Windows

2022-11-08 Thread Takashi Yano
On Tue, 8 Nov 2022 17:17:50 + Derek Pagel wrote: > Thanks for running the script and trying it. What OS and Cygwin version were > you using? Windows 10 Professional (64 bit) 22H2 Version 10.0.19045.2130 Cygwin: CYGWIN_NT-10.0-19045 HP-Z230 3.3.6-341.x86_64 2022-09-05 11:15 UTC x86_64 Cygwin

RE: Cygwin commands are intermittently hanging on Windows

2022-11-08 Thread Derek Pagel via Cygwin
I ran your script twice, once in command prompt and once in mintty. Both attempts finished without any problems. Thanks for running the script and trying it. What OS and Cygwin version were you using? -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin

Re: Cygwin commands are intermittently hanging on Windows

2022-11-08 Thread Takashi Yano
On Tue, 8 Nov 2022 16:00:52 + Derek Pagel wrote: > Even using Strawberry Perl, "" 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 " "

RE: Cygwin commands are intermittently hanging on Windows

2022-11-08 Thread Derek Pagel via Cygwin
my $TESTDIR = getcwd() . "\\test"; my $MVCMD = "mv test.txt " . $TESTDIR . "\\test.txt"; my $RMCMD = "rm " . $TESTDIR . "\\test.txt test2.txt"; Even using Strawberry Perl, "" in above lines cause error. Oh, I see, when I copy-pasted the script into the thread, it added a few code changes, and

Re: Cygwin commands are intermittently hanging on Windows

2022-11-08 Thread Takashi Yano
On Tue, 8 Nov 2022 13:25:05 + Derek Pagel wrote: > The script was written using Strawberry Perl with Cygwin in the %PATH% > variable. Then the script makes system calls using that Cygwin. my $TESTDIR = getcwd() . "\\test"; my $MVCMD = "mv test.txt " . $TESTDIR . "\\test.txt"; my $RMCMD = "rm

RE: Cygwin commands are intermittently hanging on Windows

2022-11-08 Thread Derek Pagel via Cygwin
The script was written using Strawberry Perl with Cygwin in the %PATH% variable. Then the script makes system calls using that Cygwin. On Mon, 7 Nov 2022 22:06:46 + Derek Pagel wrote: > I've printed the script below for reference: > > use strict; > use Cw