Foundry.RunManager¶
- Subclasses:
None
Methods¶
- Inherited:
Foundry.Service (8), Foundry.Contextual (4), GObject.Object (37), Json.Serializable (8)
- Structs:
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Foundry.RunManager(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Manages application execution and runtime operations.
Foundry.RunManagercoordinates the execution of applications, manages runtime environments, and provides tools for debugging and profiling. It handles process launching, environment configuration, and integrates with build systems for seamless application deployment and testing.- deploy()¶
- Returns:
a [class`Dex`.Future] that resolves to any value or rejects with error.
- Return type:
Deploys the application using the deploy strategy without running it.
New in version 1.1.
- list_tools()¶
- Returns:
a list of tools supported by the run manager such as “gdb” or “valgrind” or “sysprof”.
- Return type:
[
str]
Gets the available tools that can be used to run the program.
- run()¶
- Returns:
a [class`Dex`.Future] that resolves to any value or rejects with error.
- Return type:
- run_command(pipeline, command, tool, build_pty_fd, run_pty_fd, cancellable)¶
- Parameters:
pipeline (
Foundry.BuildPipeline) – a [class`Foundry`.BuildPipeline]command (
Foundry.Command) – a [class`Foundry`.Command]tool (
str) –build_pty_fd (
int) –run_pty_fd (
int) –cancellable (
Dex.Cancellable) –
- Returns:
a [class`Dex`.Future] that resolves to a [class`Foundry`.RunTool].
- Return type:
Starts running a program.