изучаю/тестирую/пишу обертку для RunCommandIndir()
- Код: Выделить всё
- function RunCommandIndir(
 const curdir : string;
 const exename : string;
 const commands : array of string; <- !!! this param
 out outputstring : string ;
 out exitstatus : integer;
 Options : TProcessOptions = []):integer;
как передать параметр commands в функцию-обертку? (параметр _arg)
- Код: Выделить всё
- function run_cmd(const _cmd: string; const _arg: array of string; const _dir: string):integer;
 ...
исходные
- Код: Выделить всё
- - fpc-3.0.4
 - Linux





