[Issue 4688] New: [patch] rdmd/Win: rdmd'ed program's output appears after cmd prompt

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Aug 20 00:26:14 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4688

           Summary: [patch] rdmd/Win: rdmd'ed program's output appears
                    after cmd prompt
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: cbkbbejeap at mailinator.com


--- Comment #0 from Nick Sabalausky <cbkbbejeap at mailinator.com> 2010-08-20 00:26:09 PDT ---
Created an attachment (id=732)
Patch against rdmd r1400

On Windows (XP Pro SP2 32-bit, not sure about other versions):

Expected:
------------------------
C:\myDir>rdmd helloworld.d
Hello, world!

C:\myDir>
------------------------

Actual:
------------------------
C:\myDir>rdmd helloworld.d

C:\myDir>Hello, world!

------------------------

This happens because execv fools the Windows command-line into thinking the
program is done and returning control back to the user.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list