December 14, 2017
https://issues.dlang.org/show_bug.cgi?id=18076

          Issue ID: 18076
           Summary: dmd -run should work with `-` (stdin) too
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: hsteoh@quickfur.ath.cx

Currently, `dmd -` causes dmd to read source code from stdin and compile it. However, there is currently no way to also specify `-run` to run the resulting executable, because `-run` requires a filename argument, but when stdin is used, `-` isn't a valid filename for -run.

This enhancement request is to propose to modify `-run` so that it works with `-` too.

--