[Bug 19801] New: cygwin can't run a batch file from inside a shell script without explicit cmd /c
http://bugs.winehq.org/show_bug.cgi?id=19801 Summary: cygwin can't run a batch file from inside a shell script without explicit cmd /c Product: Wine Version: 1.1.27 Platform: PC OS/Version: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: dank(a)kegel.com Given the batch file foo.bat containing echo FOO and the shell script 'foo.sh' containing ./foo.bat the command ./foo.bat interactively will output FOO on both cygwin/windows and cygwin/wine, but the command sh foo.sh will produce FOO on cygwin/windows but will fail on cygwin/wine saying foo.sh: line 1: ./foo.bat: permission denied This happens both in an interactive cygwin shell started under wineconsole, as well as the naked command $ wine ~/.wine/drive_c/cygwin/bin/sh foo.sh which sometimes says permission denied, and sometimes says "bad address", e.g. foo.sh: line 1: ./foo.bat: Bad address 13 [main] sh 50! _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack) foo.sh: line 1: 50 Segmentation fault (core dumped) ./foo.bat So the "permission denied" error might be a symptom of a crash, too. This was found while trying to automate the chrome and firefox build setup procedures. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19801 --- Comment #1 from butraxz(a)gmail.com 2013-08-05 12:24:28 CDT --- This ticket has not been updated for over 900 days. Development recommends to check the status on your bug every release or two and let to be known if the bug is still present. If not, mark it fixed. Is this still an issue with 1.7.0 or higher ? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=19801 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv(a)dawncrow.de --- Comment #2 from André H. <nerv(a)dawncrow.de> --- This is fixed in wine-staging as of version 1.7.51 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=19801 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting(a)gmail.com, | |sebastian(a)fds-team.de -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=19801 super_man(a)post.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man(a)post.com --- Comment #3 from super_man(a)post.com --- (In reply to André H. from comment #2)
This is fixed in wine-staging as of version 1.7.51
Can considered as staged then? Any idea what's the patch that fixes this? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=19801 --- Comment #4 from Qian Hong <fracting(a)gmail.com> --- I think it is this one: https://github.com/wine-compholio/wine-staging/blob/master/patches/kernel32-... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=19801 Andreas Gnau <Rondom(a)Rondom.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Rondom(a)Rondom.de -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=19801 Vincent Povirk <madewokherd(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/kernel32-COMSP | |EC -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=19801 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Staged patchset|https://github.com/wine-com |https://github.com/wine-sta |pholio/wine-staging/tree/ma |ging/wine-staging/tree/mast |ster/patches/kernel32-COMSP |er/patches/kernel32-COMSPEC |EC | -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=19801 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Fixed by SHA1| |279ac253e5aa7132ec4960af175 | |115befcdfefd0 Resolution|--- |FIXED --- Comment #5 from Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- Fixed by https://source.winehq.org/git/wine.git/?a=commit;h=279ac253e5aa7132ec4960af1... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=19801 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 3.16. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org