public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Issue with run.exe and PWD with spaces since last update (Cygwin 1.7.21)
@ 2013-07-16 17:39 Andrey Repin
  2013-07-16 18:02 ` Andrey Repin
  2013-07-17 13:36 ` Corinna Vinschen
  0 siblings, 2 replies; 17+ messages in thread
From: Andrey Repin @ 2013-07-16 17:39 UTC (permalink / raw)
  To: All

Greetings, All!

I'm trying to execute a script that was working fine until recent update.
It doesn't crash, just, for some reason, trim the last component of a path.

In a nutshell, the issue is this:

$ mkdir "/a b"
$ cd "/a b"
$ ls -l "$SYSTEMROOT/System32/notepad.exe"
(just to confirm that the file actually exists)
$ run "$SYSTEMROOT/System32/notepad.exe"
Error pops up:

---------------------------
Run.exe
---------------------------
Error: could not start C:\Programs\CygWin\a b

---------------------------
OK
---------------------------


$ cygcheck.exe -v run
Found: C:\Programs\CygWin\bin\run.exe
Found: C:\Programs\CygWin\bin\run.exe
C:\Programs\CygWin\bin\run.exe - os=4.0 img=1.0 sys=4.0
  C:\Programs\CygWin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
    "cygwin1.dll" v0.0 ts=2013-07-15 11:17
    C:\WINDOWS\system32\KERNEL32.dll - os=5.1 img=5.1 sys=4.0
      "KERNEL32.dll" v0.0 ts=2009-03-21 12:36
      C:\WINDOWS\system32\ntdll.dll - os=5.1 img=5.1 sys=4.10
        "ntdll.dll" v0.0 ts=2010-12-09 13:38
    C:\WINDOWS\system32\ntdll.dll (already done)
  C:\WINDOWS\system32\KERNEL32.dll (already done)
  C:\WINDOWS\system32\SHELL32.DLL - os=5.1 img=5.1 sys=4.10
    "SHELL32.dll" v0.0 ts=2012-06-08 14:41
    C:\WINDOWS\system32\ADVAPI32.dll - os=5.1 img=5.1 sys=4.0
      "ADVAPI32.dll" v0.0 ts=2009-02-06 11:02
      C:\WINDOWS\system32\KERNEL32.dll (already done)
      C:\WINDOWS\system32\ntdll.dll (already done)
      C:\WINDOWS\system32\RPCRT4.dll - os=5.1 img=5.1 sys=4.10
        "RPCRT4.dll" v0.0 ts=2010-08-13 14:32
        C:\WINDOWS\system32\ADVAPI32.dll (recursive)
        C:\WINDOWS\system32\KERNEL32.dll (already done)
        C:\WINDOWS\system32\ntdll.dll (already done)
        C:\WINDOWS\system32\Secur32.dll - os=5.1 img=5.1 sys=4.0
          "Secur32.dll" v0.0 ts=2009-06-24 13:10
          C:\WINDOWS\system32\ADVAPI32.dll (recursive)
          C:\WINDOWS\system32\KERNEL32.dll (already done)
          C:\WINDOWS\system32\ntdll.dll (already done)
    C:\WINDOWS\system32\GDI32.dll - os=5.1 img=5.1 sys=4.10
      "GDI32.dll" v0.0 ts=2008-10-22 17:52
      C:\WINDOWS\system32\KERNEL32.dll (already done)
      C:\WINDOWS\system32\ntdll.dll (already done)
      C:\WINDOWS\system32\USER32.dll - os=5.1 img=5.1 sys=4.0
        "USER32.dll" v0.0 ts=2008-04-13 20:22
        C:\WINDOWS\system32\GDI32.dll (recursive)
        C:\WINDOWS\system32\KERNEL32.dll (already done)
        C:\WINDOWS\system32\ntdll.dll (already done)
    C:\WINDOWS\system32\KERNEL32.dll (already done)
    C:\WINDOWS\system32\msvcrt.dll - os=5.1 img=5.1 sys=4.0
      "msvcrt.dll" v0.0 ts=2008-04-13 17:41
      C:\WINDOWS\system32\KERNEL32.dll (already done)
      C:\WINDOWS\system32\ntdll.dll (already done)
    C:\WINDOWS\system32\ntdll.dll (already done)
    C:\WINDOWS\system32\RPCRT4.dll (already done)
    C:\WINDOWS\system32\SHLWAPI.dll - os=5.1 img=5.1 sys=4.0
      "SHLWAPI.dll" v0.0 ts=2009-12-07 13:39
      C:\WINDOWS\system32\ADVAPI32.dll (already done)
      C:\WINDOWS\system32\GDI32.dll (already done)
      C:\WINDOWS\system32\KERNEL32.dll (already done)
      C:\WINDOWS\system32\msvcrt.dll (already done)
      C:\WINDOWS\system32\USER32.dll (already done)
    C:\WINDOWS\system32\USER32.dll (already done)
  C:\WINDOWS\system32\USER32.dll (already done)

$ cygcheck.exe -f /bin/run.exe
run-1.2.0-1

$ cygcheck.exe -c run
Cygwin Package Information
Package              Version        Status
run                  1.2.0-1        OK


-- 
WBR,
Andrey Repin (anrdaemon@freemail.ru) 16.07.2013, <20:12>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2013-07-24 22:46 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-16 17:39 Issue with run.exe and PWD with spaces since last update (Cygwin 1.7.21) Andrey Repin
2013-07-16 18:02 ` Andrey Repin
2013-07-17 13:36 ` Corinna Vinschen
2013-07-17 14:02   ` Charles Wilson
2013-07-17 14:05     ` Corinna Vinschen
2013-07-17 14:09       ` Charles Wilson
2013-07-17 14:33         ` Corinna Vinschen
2013-07-17 14:54           ` Charles Wilson
2013-07-17 15:39             ` Corinna Vinschen
2013-07-17 15:52               ` Charles Wilson
2013-07-17 16:18                 ` Charles Wilson
2013-07-18  2:26                   ` Charles Wilson
2013-07-25  2:38                   ` Charles Wilson
2013-07-17 14:10   ` Andrey Repin
2013-07-17 14:20     ` Corinna Vinschen
2013-07-17 20:45       ` Christopher Faylor
2013-07-17 20:46         ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).