[latexila] Force work_directory to local full-path using get_path()
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] Force work_directory to local full-path using get_path()
- Date: Wed, 5 Mar 2014 14:33:13 +0000 (UTC)
commit 6b49ee99f7a2b2b9a2a879bcbee65d8df530dd53
Author: Chunyang Xu <xuchunyang56 gmail com>
Date: Mon Feb 24 22:57:51 2014 +0800
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
src/build_job_runner.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/build_job_runner.vala b/src/build_job_runner.vala
index 259321c..c5cd32e 100644
--- a/src/build_job_runner.vala
+++ b/src/build_job_runner.vala
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]