Re: [Lazarus] runcommand doesn't work?

2023-03-10 Thread wkitty42--- via lazarus
On 3/9/23 8:28 PM, john Ward via lazarus wrote: *I have a program, segment included below, that partially works.  The first 'runcommand' example works, but the 2nd doesn't?* *If I type the lp command line, it prints perfectly..* perhaps "which lp" will give you the proper path? also "whereis l

Re: [Lazarus] runcommand doesn't work?

2023-03-10 Thread zeljko via lazarus
On 10. 03. 2023. 02:28, john Ward via lazarus wrote: *I have a program, segment included below, that partially works.  The first 'runcommand' example works, but the 2nd doesn't?* *If I type the lp command line, it prints perfectly..*  if RunCommand('unix2dos', ['-n', '-f', '/mbs/mbs/file/cus

[Lazarus] runcommand doesn't work?

2023-03-09 Thread john Ward via lazarus
I have a program, segment included below, that partially works. The first 'runcommand' example works, but the 2nd doesn't? If I type the lp command line, it prints perfectly.. if RunCommand('unix2dos', ['-n', '-f', '/mbs/mbs/file/cust.f','/mbs/mbs/file/cust.frm'],s) then writeln(s); if R