summaryrefslogtreecommitdiffstats
path: root/src/extension/implementation/script.cpp
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2007-07-03 04:13:31 +0000
committergouldtj <gouldtj@users.sourceforge.net>2007-07-03 04:13:31 +0000
commit2d47b8ac460aa150220fb38adca81292c5846d0a (patch)
treef97dc273c713225128e7e197db373089b437bbb6 /src/extension/implementation/script.cpp
parentr15705@tres: ted | 2007-07-02 20:15:46 -0700 (diff)
downloadinkscape-2d47b8ac460aa150220fb38adca81292c5846d0a.tar.gz
inkscape-2d47b8ac460aa150220fb38adca81292c5846d0a.zip
r15736@tres: ted | 2007-07-02 21:11:39 -0700
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. (bzr r3165)
Diffstat (limited to 'src/extension/implementation/script.cpp')
-rw-r--r--src/extension/implementation/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extension/implementation/script.cpp b/src/extension/implementation/script.cpp
index 826da0b8e..98ea9fcee 100644
--- a/src/extension/implementation/script.cpp
+++ b/src/extension/implementation/script.cpp
@@ -914,7 +914,7 @@ Script::execute (const std::list<std::string> &in_command,
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>(),