#420 ADDRESS command line quoting ...

closed-fixed
None
5
2014-06-08
2013-12-19
No

I think I hit a bug. The following code:

cmdline = 'reg.exe query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall /s'
address command cmdline with output fifo ''
say queued()

works fine with 3.5:

C:\Work>rexx35 test2.rex
2893

But it fails with 3.7:

C:\Work>rexx37 test2.rex
FEHLER: Ungültiger Schlüsselname.
Geben Sie "REG QUERY /?" ein, um die Syntax anzuzeigen.
2 - address command cmdline with output fifo ''
+++ RC=1 +++
0

It works fine, when I double the backslashs (i.e. quote them). But that should
not be necessary. (And when doubling the backslashs, it fails for 3.5 ...)

Discussion

  • Kai-Uwe Rommel

    Kai-Uwe Rommel - 2014-04-27

    Mark, have you seen this entry? Could you please check this and comment? Thanks!

     
  • Mark Hessling

    Mark Hessling - 2014-04-28
    • status: open --> pending
    • Group: --> Next Release
     
  • Mark Hessling

    Mark Hessling - 2014-04-28

    This error has been resolved in v3.8 with other fixes related to ADDRESS...WITH on Windows platforms.

     
  • Mark Hessling

    Mark Hessling - 2014-06-08
    • Status: pending --> closed-fixed
    • Group: Next Release -->
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks