Lines 1572-1578
Link Here
|
1572 |
g_signal_connect (container, "run", G_CALLBACK (run), NULL); |
1572 |
g_signal_connect (container, "run", G_CALLBACK (run), NULL); |
1573 |
|
1573 |
|
1574 |
cwd = g_get_current_dir (); |
1574 |
cwd = g_get_current_dir (); |
1575 |
chdir (ogmrip_fs_get_tmp_dir ()); |
1575 |
if(chdir (ogmrip_fs_get_tmp_dir ()) < 0); |
1576 |
|
1576 |
|
1577 |
spawn = OGMJOB_SPAWN (container); |
1577 |
spawn = OGMJOB_SPAWN (container); |
1578 |
result = ogmjob_spawn_run (OGMJOB_SPAWN (container), &tmp_error); |
1578 |
result = ogmjob_spawn_run (OGMJOB_SPAWN (container), &tmp_error); |
Lines 1584-1590
Link Here
|
1584 |
if (tmp_error) |
1584 |
if (tmp_error) |
1585 |
g_propagate_error (error, tmp_error); |
1585 |
g_propagate_error (error, tmp_error); |
1586 |
|
1586 |
|
1587 |
chdir (cwd); |
1587 |
if(chdir (cwd) < 0); |
1588 |
g_free (cwd); |
1588 |
g_free (cwd); |
1589 |
|
1589 |
|
1590 |
return result; |
1590 |
return result; |