Skip to content
  • Christian Persch's avatar
    gspawn: Add GSpawnFlag to use the PATH from envp · 481191f1
    Christian Persch authored
    Add a G_SPAWN_SEARCH_PATH_FROM_ENVP flag to GSpawnFlags so that
    g_spawn_async() etc use the PATH variable from the passed-in child
    environment to search for the executable.
    If both this flag and the G_SPAWN_SEARCH_PATH flag are set, the
    child environment is searched first and only falls back to the
    PATH from the process environment if it is unset.
    
    Bug #676398.
    481191f1