Skip to content
Snippets Groups Projects
Commit ab01bb2c authored by rswindell's avatar rswindell
Browse files

%s in an external program command-line now expands to the configured

startup directory instead the drop file directory. This allows for cross-
platform native command-lines for sbj and sbl.
parent 6c407285
Branches
Tags
No related merge requests found
......@@ -1681,7 +1681,14 @@ bool sbbs_t::exec_xtrn(uint xtrnnum)
}
start=time(NULL);
external(cmdstr(cfg.xtrn[xtrnnum]->cmd,path,dropdir,NULL),mode
external(cmdstr(cfg.xtrn[xtrnnum]->cmd,path
#if 0 /* old way */
,dropdir
#else /* new way, as of Feb-20-2003 */
,cfg.xtrn[xtrnnum]->path
#endif
,NULL)
,mode
,cfg.xtrn[xtrnnum]->path);
end=time(NULL);
if(cfg.xtrn[xtrnnum]->misc&FREETIME)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment