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

« back to all changes in this revision

Viewing changes to src/daemon.vala

  • Committer: Ian Liu Rodrigues
  • Date: 2011-03-21 02:49:37 UTC
  • mto: This revision was merged to the branch mainline in revision 197.
  • Revision ID: ian.liu88@gmail.com-20110321024937-7ls2l91y54928bpm
unity-application-daemon spawns processes on home directory

Show diffs side-by-side

added added

removed removed

Lines of Context:
762
762
      else
763
763
      {
764
764
          try {
765
 
            Process.spawn_async (null, args, null, SpawnFlags.SEARCH_PATH, null, null);
 
765
            unowned string home_dir = GLib.Environment.get_home_dir ();
 
766
            Process.spawn_async (home_dir, args, null, SpawnFlags.SEARCH_PATH, null, null);
766
767
          } catch (SpawnError e) {
767
768
            warning ("Failed to spawn software-center or direct URI activation '%s': %s",
768
769
                     uri, e.message);