Foundry.RunManager

g Foundry.Contextual Foundry.Contextual Foundry.Service Foundry.Service Foundry.Contextual->Foundry.Service Foundry.RunManager Foundry.RunManager Foundry.Service->Foundry.RunManager GObject.GInterface GObject.GInterface Json.Serializable Json.Serializable GObject.GInterface->Json.Serializable GObject.Object GObject.Object GObject.Object->Foundry.Contextual Json.Serializable->Foundry.Contextual

Subclasses:

None

Methods

Inherited:

Foundry.Service (8), Foundry.Contextual (4), GObject.Object (37), Json.Serializable (8)

Structs:

Foundry.ServiceClass (3), GObject.ObjectClass (5)

deploy ()

list_tools ()

run ()

run_command (pipeline, command, tool, build_pty_fd, run_pty_fd, cancellable)

set_default_pty (default_pty)

Virtual Methods

Inherited:

GObject.Object (7), Json.Serializable (5)

Properties

Inherited:

Foundry.Contextual (1)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Foundry.RunManager(**kwargs)
Bases:

Foundry.Service

Abstract:

No

Structure:

Foundry.RunManagerClass

Manages application execution and runtime operations.

Foundry.RunManager coordinates 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:

Dex.Future

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:

Dex.Future

run_command(pipeline, command, tool, build_pty_fd, run_pty_fd, cancellable)
Parameters:
Returns:

a [class`Dex`.Future] that resolves to a [class`Foundry`.RunTool].

Return type:

Dex.Future

Starts running a program.

set_default_pty(default_pty)
Parameters:

default_pty (int) –