[Issue 18076] New: dmd -run should work with `-` (stdin) too
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Dec 14 01:22:13 UTC 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 at puremagic.com
Reporter: hsteoh at 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.
--
More information about the Digitalmars-d-bugs
mailing list