X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=ioncore%2Fioncore_wd.lua;h=cdb7a36ed815d316df295080ed52629b1377c24d;hb=ae4260bb64817c11f9a7140324cd3e3ba113e297;hp=84107b81568a3f2012fe388f5f849d4ada2bee98;hpb=8366314611bf30a0f31d25bf5f5023186fa87692;p=ion3.git diff --git a/ioncore/ioncore_wd.lua b/ioncore/ioncore_wd.lua index 84107b8..cdb7a36 100644 --- a/ioncore/ioncore_wd.lua +++ b/ioncore/ioncore_wd.lua @@ -1,12 +1,9 @@ -- -- ion/share/ioncore_wd.lua -- --- Copyright (c) Tuomo Valkonen 2004-2006. +-- Copyright (c) Tuomo Valkonen 2004-2007. -- --- Ion is free software; you can redistribute it and/or modify it under --- the terms of the GNU Lesser General Public License as published by --- the Free Software Foundation; either version 2.1 of the License, or --- (at your option) any later version. +-- See the included file LICENSE for details. -- local savefile="saved_wd" @@ -123,8 +120,7 @@ function ioncore.exec_on(reg, cmd, merr_internal) cmd='XTERMCMD='..string.shell_safe(XTERM)..' '..cmd end end - return ioncore.do_exec_rw(reg:rootwin_of(), cmd, - ioncore.get_dir_for(reg), + return ioncore.do_exec_on(reg, cmd, ioncore.get_dir_for(reg), merr_internal) end