Re: [Lazarus] Process differences

2021-10-20 Thread Steve Gatenby via lazarus
(mis-directed earlier reply - sorry about that) Thanks Denis - will try that. will also check my user rights as Juha suggested as well gotta be something my end :) On 19/10/21 19:36, Denis Kozlov wrote: On Tue, 19 Oct 2021 at 05:58, Steve Gatenby via lazarus wrote: Hoping someone coul

Re: [Lazarus] Process differences

2021-10-19 Thread Denis Kozlov via lazarus
On Tue, 19 Oct 2021 at 05:58, Steve Gatenby via lazarus < lazarus@lists.lazarus-ide.org> wrote: > Hoping someone could shed some light on why different results on the > following code :) > There is a peculiar truncation at around 80 characters in your second example. The output might be getting

Re: [Lazarus] Process differences

2021-10-19 Thread Juha Manninen via lazarus
On Tue, Oct 19, 2021 at 7:58 AM Steve Gatenby via lazarus < lazarus@lists.lazarus-ide.org> wrote: > Hoping someone could shed some light on why different results on the > following code :) > My guess is that a GTK2 session adjusts user and group rights somehow. When I run your command 'ps -eo pid

[Lazarus] Process differences

2021-10-18 Thread Steve Gatenby via lazarus
Hoping someone could shed some light on why different results on the following code :) Example 1 - simple fpc app (as below) - works as expected - full output to text file program project1; uses Classes, SysUtils, Process; var   sData        :ansistring;   slTemp    :TStringList = NIL; begi