View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0035945 | FPC | - | public | 2019-08-10 08:38 | 2020-02-04 16:24 |
Reporter | Zamrony P. Juhara | Assigned To | Michael Van Canneyt | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.0.4 | ||||
Fixed in Version | 3.3.1 | ||||
Summary | 0035945: instantfpc does not support reading source from STDIN | ||||
Description | instantfpc always expects Pascal script from file. It would be nice if it supports reading source from STDIN so it can be piped with other shell script. This is useful to be able to execute small temporary Pascal code without actually saving script to file first or to be able to generate pascal script on-the-fly and execute it without need to save it to file. | ||||
Tags | No tags attached. | ||||
Fixed in Revision | 43026 | ||||
FPCOldBugId | |||||
FPCTarget | 3.2.0 | ||||
Attached Files |
|
|
Instantfpc just calls the compiler, and the compiler does not support source code from stdin, so in the best case instantfpc would create a temporary file itself. |
|
I added a -- option. When specified, the program is read from standard input. Note that the program then cannot read from standard input, as EOF will be true. |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-08-10 08:38 | Zamrony P. Juhara | New Issue | |
2019-08-10 10:12 | Jonas Maebe | Note Added: 0117620 | |
2019-09-14 11:43 | Marco van de Voort | Severity | minor => feature |
2019-09-14 11:43 | Marco van de Voort | FPCTarget | => - |
2019-09-17 12:39 | Michael Van Canneyt | Assigned To | => Michael Van Canneyt |
2019-09-17 12:39 | Michael Van Canneyt | Status | new => resolved |
2019-09-17 12:39 | Michael Van Canneyt | Resolution | open => fixed |
2019-09-17 12:39 | Michael Van Canneyt | Fixed in Version | => 3.3.1 |
2019-09-17 12:39 | Michael Van Canneyt | Fixed in Revision | => 43026 |
2019-09-17 12:39 | Michael Van Canneyt | FPCTarget | - => 3.2.0 |
2019-09-17 12:39 | Michael Van Canneyt | Note Added: 0118098 |