[gnome-builder] IdeRunner: don't override the CWD of the launcher



commit f1fdc4d001fbaac0935bf58d94057497128515f2
Author: Giovanni Campagna <gcampagn cs stanford edu>
Date:   Sun Nov 26 12:24:23 2017 -0800

    IdeRunner: don't override the CWD of the launcher
    
    It is set a few lines above by real_create_launcher()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=790846

 src/libide/runner/ide-runner.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/libide/runner/ide-runner.c b/src/libide/runner/ide-runner.c
index 7a11b1d..64ef525 100644
--- a/src/libide/runner/ide-runner.c
+++ b/src/libide/runner/ide-runner.c
@@ -292,12 +292,6 @@ ide_runner_real_run_async (IdeRunner           *self,
   for (const GList *iter = priv->argv.head; iter != NULL; iter = iter->next)
     ide_subprocess_launcher_push_argv (launcher, iter->data);
 
-  /*
-   * Set the working directory for the process.
-   * FIXME: Allow this to be configurable! Add IdeRunner::cwd.
-   */
-  ide_subprocess_launcher_set_cwd (launcher, g_get_home_dir ());
-
   /* Give the runner a final chance to mutate the launcher */
   if (IDE_RUNNER_GET_CLASS (self)->fixup_launcher)
     IDE_RUNNER_GET_CLASS (self)->fixup_launcher (self, launcher);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]