To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=81252





------- Additional comments from [EMAIL PROTECTED] Wed Sep  5 05:27:42 +0000 
2007 -------
Hrmpf, thank you Microsoft! Shell recipes are executed by dmake with a command
that is created like this:

$(SHELL) $(SHELLFLAGS) $(expanded_recipe_command)

For the given example this is:

cmd.exe /C "C:\Temp\hello.exe" "arg"

Now, open a new cmd and try it. :(

This follows this rule:
> 2. Otherwise, old behavior is to see if the first character is a quote
> character and if so, strip the leading character and remove the last quote
> character on the command line, preserving any text after the last quote
> character.

Adding extra quotes would solve this:
$(SHELL) $(SHELLFLAGS) "$(expanded_recipe_command)"
but this would only be correct for cmd.exe, for any other shell this might
create additional problems. (Your problematic example works fine with bash)

How about a new speial macro, say SHELLADDQUOTE (and also GROUPSHELLQUOTE), that
adds the quotes if set to yes?

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to