testTrapSubprocess

Respawns the test program to run only test_path in a subprocess.

This is equivalent to calling glib.global.testTrapSubprocessWithEnvp with envp set to null. See the documentation for that function for full details.

void
testTrapSubprocess

Parameters

testPath string

Test to run in a subprocess

usecTimeout ulong

Timeout for the subprocess test in micro seconds.

testFlags glib.types.TestSubprocessFlags

Flags to modify subprocess behaviour.