| 1 |
name: runresult |
| 2 |
long_name: Run result object |
| 3 |
description: | |
| 4 |
This object encapsulates the result of trying to compile and run a |
| 5 |
sample piece of code with [[compiler.run]] or |
| 6 |
[[run_command]]. |
| 7 |
|
| 8 |
methods: |
| 9 |
- name: compiled |
| 10 |
returns: bool |
| 11 |
description: | |
| 12 |
If `true`, the compilation succeeded, if `false` it did not |
| 13 |
and the other methods return unspecified data. This is only available |
| 14 |
for `compiler.run()` results. |
| 15 |
|
| 16 |
- name: returncode |
| 17 |
returns: int |
| 18 |
description: The return code of executing the compiled binary |
| 19 |
|
| 20 |
- name: stderr |
| 21 |
returns: str |
| 22 |
description: The standard error produced when the command was run. |
| 23 |
|
| 24 |
- name: stdout |
| 25 |
returns: str |
| 26 |
description: The standard out produced when the command was run. |