Gio.SubprocessLauncher.prototype.spawnv

function spawnv(argv: Array(String)): Gio.Subprocess {
    // Gjs wrapper for g_subprocess_launcher_spawnv()
}
  

A convenience helper for creating a Gio.Subprocess given a provided array of arguments.

Since 2.40

argv

Command line arguments

Returns

A new Gio.Subprocess, or null on error (and @error will be set)