http://bugs.winehq.org/show_bug.cgi?id=9530
Summary: cmd's for command can't handle /f option Product: Wine Version: CVS/GIT Platform: Other OS/Version: other Status: NEW Severity: enhancement Priority: P2 Component: wine-programs AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
I ran into the follow cmd construct today in a real world script:
for /f %%X in ('foo.exe') do set %%X
The /f ... ('command') option is described here http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-... and it means "run the command in single quotes, then loop over each word of the output".
(The real script was trying to set environment variables whose name and value were from stdout of foo.exe.)
http://bugs.winehq.org/show_bug.cgi?id=9530
Jason Edmeades us@edmeades.me.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine-bugs@winehq.org, | |us@edmeades.me.uk AssignedTo|wine-bugs@winehq.org |us@edmeades.me.uk
--- Comment #1 from Jason Edmeades us@edmeades.me.uk 2007-08-31 15:08:25 --- I'll take a look
http://bugs.winehq.org/show_bug.cgi?id=9530
--- Comment #2 from Jason Edmeades us@edmeades.me.uk 2007-09-11 15:54:05 --- Patch submitted tonight... waiting on commit
http://bugs.winehq.org/show_bug.cgi?id=9530
Jason Edmeades us@edmeades.me.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #3 from Jason Edmeades us@edmeades.me.uk 2007-09-13 16:45:00 --- Fixed in git
http://bugs.winehq.org/show_bug.cgi?id=9530
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Dan Kegel dank@kegel.com 2008-01-28 05:24:35 --- Closing all RESOLVED FIXED bugs more than three months old.
http://bugs.winehq.org/show_bug.cgi?id=9530
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
http://bugs.winehq.org/show_bug.cgi?id=9530
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|programs |cmd