www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 4688] New: [patch] rdmd/Win: rdmd'ed program's output appears after cmd prompt

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: cbkbbejeap mailinator.com



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: -------
Aug 20 2010
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4688




00:30:21 PDT ---
Note: The patch also fixes a minor issue where rdmd imports the "scheduled for
deprecation" std.contracts instead of the (apparently) preferred std.exception.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 20 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4688


Nick Sabalausky <cbkbbejeap mailinator.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------

           obsolete|                            |



14:10:24 PDT ---
Created an attachment (id=734)
Fixed patch against rdmd r1400

Fixed an issue with the patch, too many backslashes were being escaped.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 20 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4688


Nick Sabalausky <cbkbbejeap mailinator.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------

           obsolete|                            |



13:54:45 PDT ---
Created an attachment (id=735)
Re-Fixed patch against rdmd r1400

Another fix for the patch: Double-quotes weren't properly escaped.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 21 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4688




21:42:18 PDT ---
Note that this bug is not just cosmetic: It causes problems for programs that
launch rdmd through a "system()" call. The system() call will return *before*
the rdmd'ed program runs which causes a (repeatable) race problem.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 24 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4688




13:58:53 PDT ---


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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 24 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4688


Andrei Alexandrescu <andrei metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |andrei metalanguage.com
         AssignedTo|nobody puremagic.com        |andrei metalanguage.com


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 09 2011
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4688


Andrei Alexandrescu <andrei metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED



16:48:33 PDT ---
Fixed in
https://github.com/D-Programming-Language/tools/commit/27bb715ccb93d3dc27530b664f01904503c3153b.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 14 2011
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4688


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich gmail.com



22:53:54 PDT ---
*** Issue 5600 has been marked as a duplicate of this issue. ***

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