utils: follow up to previous commit
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
This commit is contained in:
parent
6fc49b79a4
commit
4c5f3aa971
@ -45,7 +45,7 @@ function spawn(argv) {
|
|||||||
// occur when trying to parse or start the program.
|
// occur when trying to parse or start the program.
|
||||||
function spawnCommandLine(command_line) {
|
function spawnCommandLine(command_line) {
|
||||||
try {
|
try {
|
||||||
let [success, argc, argv] = GLib.shell_parse_argv(command_line);
|
let [success, argv] = GLib.shell_parse_argv(command_line);
|
||||||
trySpawn(argv);
|
trySpawn(argv);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
_handleSpawnError(command_line, err);
|
_handleSpawnError(command_line, err);
|
||||||
|
Loading…
Reference in New Issue
Block a user