summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b685012)
raw | patch | inline | side by side (parent: b685012)
author | gouldtj <gouldtj@users.sourceforge.net> | |
Tue, 3 Jul 2007 04:13:31 +0000 (04:13 +0000) | ||
committer | gouldtj <gouldtj@users.sourceforge.net> | |
Tue, 3 Jul 2007 04:13:31 +0000 (04:13 +0000) |
Changing the working directory for scripts from the temporary directory
to the current working directory (the one Inkscape was called with). I
don't think this is the 'right' way to do this -- but the win32 people
kinda need it.
to the current working directory (the one Inkscape was called with). I
don't think this is the 'right' way to do this -- but the win32 people
kinda need it.
src/extension/implementation/script.cpp | patch | blob | history |
index 826da0b8e2fe5f2ac83504a6db90fe33cf060430..98ea9fceeba115055814c2e0fc03ecc5875cac6a 100644 (file)
int stdout_pipe, stderr_pipe;
try {
- Glib::spawn_async_with_pipes(Glib::get_tmp_dir(), // working directory
+ Glib::spawn_async_with_pipes(Glib::get_current_dir(), // working directory
argv, // arg v
Glib::SPAWN_SEARCH_PATH /*| Glib::SPAWN_DO_NOT_REAP_CHILD*/,
sigc::slot<void>(),