Commit 6b49ee99 authored by Chunyang Xu's avatar Chunyang Xu Committed by Sébastien Wilmet

Force work_directory to local full-path using get_path()

work_directory is passed to g_spawn_async_with_pipes(), which need a local
full-path(not URI) directory.

https://bugzilla.gnome.org/show_bug.cgi?id=724556
parent 2aee45f7
......@@ -61,7 +61,7 @@ public class BuildJobRunner : GLib.Object
public void run () throws ShellError, Error
{
string[] command_args = get_command_args ();
string working_directory = _on_file.get_parent ().get_parse_name ();
string working_directory = _on_file.get_parent ().get_path ();
_command_runner = new BuildCommandRunner (command_args, working_directory);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment