subprocess: Factor out an object for the execution environment
This will let us bundle together more of the subprocess handling for
running helpers. For now, it is just a container for the environment,
helpers path and test flags.
This is an immutable value-object which does not change after it has
been constructed, meaning that we can share it between threads if
that becomes useful in future.
No functional change intended.
Signed-off-by:
Simon McVittie <smcv@collabora.com>
parent
0af5d176
No related branches found
No related tags found
Showing
- steam-runtime-tools/architecture-internal.h 3 additions, 2 deletionssteam-runtime-tools/architecture-internal.h
- steam-runtime-tools/architecture.c 13 additions, 10 deletionssteam-runtime-tools/architecture.c
- steam-runtime-tools/display-internal.h 2 additions, 3 deletionssteam-runtime-tools/display-internal.h
- steam-runtime-tools/display.c 8 additions, 10 deletionssteam-runtime-tools/display.c
- steam-runtime-tools/graphics-drivers-egl.c 6 additions, 7 deletionssteam-runtime-tools/graphics-drivers-egl.c
- steam-runtime-tools/graphics-drivers-json-based-internal.h 2 additions, 2 deletionssteam-runtime-tools/graphics-drivers-json-based-internal.h
- steam-runtime-tools/graphics-drivers-json-based.c 7 additions, 10 deletionssteam-runtime-tools/graphics-drivers-json-based.c
- steam-runtime-tools/graphics-drivers-vulkan.c 19 additions, 20 deletionssteam-runtime-tools/graphics-drivers-vulkan.c
- steam-runtime-tools/graphics-drivers.c 66 additions, 76 deletionssteam-runtime-tools/graphics-drivers.c
- steam-runtime-tools/graphics-internal.h 8 additions, 13 deletionssteam-runtime-tools/graphics-internal.h
- steam-runtime-tools/graphics.c 21 additions, 21 deletionssteam-runtime-tools/graphics.c
- steam-runtime-tools/libdl-internal.h 4 additions, 4 deletionssteam-runtime-tools/libdl-internal.h
- steam-runtime-tools/libdl.c 10 additions, 12 deletionssteam-runtime-tools/libdl.c
- steam-runtime-tools/library-internal.h 2 additions, 2 deletionssteam-runtime-tools/library-internal.h
- steam-runtime-tools/library.c 9 additions, 5 deletionssteam-runtime-tools/library.c
- steam-runtime-tools/locale-internal.h 2 additions, 2 deletionssteam-runtime-tools/locale-internal.h
- steam-runtime-tools/locale.c 7 additions, 5 deletionssteam-runtime-tools/locale.c
- steam-runtime-tools/meson.build 2 additions, 0 deletionssteam-runtime-tools/meson.build
- steam-runtime-tools/subprocess-internal.h 49 additions, 0 deletionssteam-runtime-tools/subprocess-internal.h
- steam-runtime-tools/subprocess.c 194 additions, 0 deletionssteam-runtime-tools/subprocess.c
Loading
Please register or sign in to comment