The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
725 B
27 lines
725 B
3 years ago
|
name: runresult
|
||
|
long_name: Run result object
|
||
|
description: |
|
||
|
This object encapsulates the result of trying to compile and run a
|
||
|
sample piece of code with [[compiler.run]] or
|
||
|
[[run_command]].
|
||
|
|
||
|
methods:
|
||
|
- name: compiled
|
||
|
returns: bool
|
||
|
description: |
|
||
|
If `true`, the compilation succeeded, if `false` it did not
|
||
|
and the other methods return unspecified data. This is only available
|
||
|
for `compiler.run()` results.
|
||
|
|
||
|
- name: returncode
|
||
|
returns: int
|
||
|
description: The return code of executing the compiled binary
|
||
|
|
||
|
- name: stderr
|
||
|
returns: str
|
||
|
description: The standard error produced when the command was run.
|
||
|
|
||
|
- name: stdout
|
||
|
returns: str
|
||
|
description: The standard out produced when the command was run.
|