~kamstrup/unity-lens-applications/sample-apps

« back to all changes in this revision

Viewing changes to src/daemon.vala

Merge Ian Liu Rodrigue's work on starting applications from the user home dir
Thanks again! (LP: #736471)

Show diffs side-by-side

added added

removed removed

Lines of Context:
784
784
      else
785
785
      {
786
786
          try {
787
 
            Process.spawn_async (null, args, null, SpawnFlags.SEARCH_PATH, null, null);
 
787
            unowned string home_dir = GLib.Environment.get_home_dir ();
 
788
            Process.spawn_async (home_dir, args, null, SpawnFlags.SEARCH_PATH, null, null);
788
789
          } catch (SpawnError e) {
789
790
            warning ("Failed to spawn software-center or direct URI activation '%s': %s",
790
791
                     uri, e.message);