--
-- 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"
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