http://bugs.winehq.org/show_bug.cgi?id=10913
Summary: start.exe doesn't support optional process title argument Product: Wine Version: CVS/GIT Platform: Other URL: http://jedit.org OS/Version: other Status: NEW Keywords: download Severity: normal Priority: P2 Component: wine-programs AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
Running real Java apps under the latest Sun win32 JRE on Wine seems like a fine stress test, even though in many cases users should run with the Linux JRE instead.
The Sun JRE and jEdit install ok, but jedit has many startup problems.
Here's the first one. Invoking it with the batch file provided by jEdit fails. Here's what's in the batch file:
start "jEdit startup" "c:\windows\system32\javaw.exe" -Xms64M -Xmx192M -jar "C:\Program Files\jEdit\jedit.jar" -reuseview %*
And here's what happens when you run it:
$ cd ~/.wine/drive_c/Program Files/jEdit $ ~/wine-git/wine cmd /c jedit.bat fixme:exec:SHELL_execute flags ignored: 0x00000500 trace:process:CreateProcessW app (null) cmdline L"jEdit startup c:\windows\system32\javaw.exe -Xms64M -Xmx192M -jar "C:\Program Files\jEdit\jedit.jar" -reuseview" trace:process:find_exe_file looking for L"jEdit" trace:process:find_exe_file Trying native exe L"c:\windows\system32\jEdit.exe" ... trace:process:find_exe_file Trying built-in exe L"c:\windows\system32\jEdit startup.exe" ... trace:process:find_exe_file looking for L"jEdit startup c:\windows\system32\javaw.exe -Xms64M -Xmx192M -jar "C:\Program Files\jEdit\jedit.jar" -reuseview"
Application could not be started, or no application associated with the specified file. ShellExecuteEx failed: File not found
So it seems that start takes an optional process title argument. Sure enough, http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-... documents it. Who knew?
http://bugs.winehq.org/show_bug.cgi?id=10913
Alexander Nicolaysen Sørnes alex@thehandofagony.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alex@thehandofagony.com
--- Comment #1 from Alexander Nicolaysen Sørnes alex@thehandofagony.com 2008-01-06 12:44:52 --- If the first parameter to start on Windows XP is quoted, this will be taken as the title. The problem is that the Windows 9x version of start does not have the title parameter, so doing
start "notepad" a
will work on 9x but not in XP, because "notepad" is taken as the program name. So I guess the best we can do is to query for the Windows version.
http://bugs.winehq.org/show_bug.cgi?id=10913
--- Comment #2 from Alexander Nicolaysen Sørnes alex@thehandofagony.com 2008-01-25 10:03:15 --- Created an attachment (id=10439) --> (http://bugs.winehq.org/attachment.cgi?id=10439) Proposed patch
Here is a proposed patch, which I will send to wine-patches once I have tested jEdit (provided the patch works, of course :) )
http://bugs.winehq.org/show_bug.cgi?id=10913
--- Comment #3 from Dan Kegel dank@kegel.com 2008-03-29 06:36:53 --- Current jedit (4.2) doesn't seem to use start in its batch file anymore?
http://bugs.winehq.org/show_bug.cgi?id=10913
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=10913
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
--- Comment #4 from Austin English austinenglish@gmail.com 2009-01-18 03:47:23 --- Removing deprecated CVS/GIT version tag. Please retest in current git. If the bug is still present in today's wine, but was not present in some earlier version of wine, please update version field to earliest known version of wine that had the bug. Thanks!
http://bugs.winehq.org/show_bug.cgi?id=10913
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |0.9.51.
http://bugs.winehq.org/show_bug.cgi?id=10913
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh@gmail.com
--- Comment #5 from Jerome Leclanche adys.wh@gmail.com 2009-12-09 09:01:57 --- (In reply to comment #3)
Current jedit (4.2) doesn't seem to use start in its batch file anymore?
Can we get a testcase for this? Or has it been fixed?
http://bugs.winehq.org/show_bug.cgi?id=10913
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|0.9.51. |0.9
--- Comment #6 from Dan Kegel dank@kegel.com 2010-01-13 11:58:59 --- Still an issue. Present since the first version of start.
http://bugs.winehq.org/show_bug.cgi?id=10913
--- Comment #7 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2010-05-04 15:35:18 --- Created an attachment (id=27711) --> (http://bugs.winehq.org/attachment.cgi?id=27711) rediffed patch from comment #2 against current git
also present in XSI_SEMO from http://cdneast.fileshack.com/secure/fileshack/action/half-life2/tools/setup_...
http://bugs.winehq.org/show_bug.cgi?id=10913
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #27711|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=10913
butraxz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |butraxz@gmail.com
--- Comment #8 from butraxz@gmail.com 2012-05-17 15:10:27 CDT --- This bug has not been updated for two years. Is this still an issue i current (1.5.4) or newer wine ? You may also close this as abandoned if you feel that that this is issue is no longer relevant to you.
http://bugs.winehq.org/show_bug.cgi?id=10913
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://jedit.org |http://sourceforge.net/proj | |ects/jedit/files/jedit/4.3/ | |jedit4.3install.exe/downloa | |d CC| |focht@gmx.net
--- Comment #9 from Anastasius Focht focht@gmx.net 2013-10-03 10:57:29 CDT --- Hello folks,
obviously still present.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/jEdit
$ wine cmd /c jedit.bat fixme:exec:SHELL_execute flags ignored: 0x00000100 Application could not be started, or no application associated with the specified file. ShellExecuteEx failed: File not found. --- snip ---
Required prerequisite Java 2 SE 1.4: http://www.oldapps.com/java.php?old_java=10?download
$ wine --version wine-1.7.3-187-gec28040
Regards
http://bugs.winehq.org/show_bug.cgi?id=10913
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |imwellcushtymelike@gmail.co | |m
--- Comment #10 from Anastasius Focht focht@gmx.net 2013-10-03 11:00:46 CDT --- *** Bug 31680 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=10913
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |guy.roussin@teledetection.f | |r
--- Comment #11 from Anastasius Focht focht@gmx.net 2013-12-04 14:59:57 CST --- *** Bug 33252 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=10913
--- Comment #12 from Jerome Leclanche adys.wh@gmail.com --- *** Bug 35751 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=10913
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fgouget@codeweavers.com
--- Comment #13 from Jerome Leclanche adys.wh@gmail.com --- It looks to me like this was fixed in http://source.winehq.org/git/wine.git/commitdiff/e0f4d5caf95cbe21f4bdb5a1ab4...
However, it is only fixed when calling it outside wine cmd.
This succeeds:
$ wine start '"foo"' regedit
This fails:
$ wine cmd ...> start "foo" regedit
fixme:exec:SHELL_execute flags ignored: 0x00000100 Application could not be started, or no application associated with the specified file. ShellExecuteEx failed: File not found.
So it doesn't help when things are run from a cmd file.
https://bugs.winehq.org/show_bug.cgi?id=10913
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #14 from François Gouget fgouget@codeweavers.com --- Actually this is fixed. You have to escape the double-quotes in cmd too:
This works:
$ wine cmd ...> start "foo" regedit
It results in cmd running the following command through CreateProcessW() as can be seen from the WCMD_start() code in programs/cmd/builtins.c.
cmdline=L"C:\windows\command\start.exe \"foo\" regedit"
https://bugs.winehq.org/show_bug.cgi?id=10913
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.37.
https://bugs.winehq.org/show_bug.cgi?id=10913
Saulius K. saulius2@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |saulius2@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=10913
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |e0f4d5caf95cbe21f4bdb5a1ab4 | |e99b935bfb4e5 OS|other |Linux Hardware|Other |x86