GLib.test_subprocess
function test_subprocess(): Boolean { // Gjs wrapper for g_test_subprocess() }
Returns true (after GLib.test_init has been called) if the test program is running under GLib.test_trap_subprocess.
Since 2.38
- Returns
true if the test program is running under GLib.test_trap_subprocess.