Tim Edwards
09/15/2023, 8:28 PMset ps_status [exec ps -o s= [pid $execute(pipe,$id)]]
(xschem.tcl line 221). ChatGPT claims that the correct arguments for ps
on the Mac should be set ps_status [exec ps -o state= -p [pid $execute(pipe,$id)]]
. Since the Linux version of ps
accepts both forms of arguments, I would suggest that the form that works correctly on the most operating systems is the one that should be used in the statement.Stefan Schippers
09/15/2023, 9:59 PMHarald Pretl
09/16/2023, 10:03 AMTim Edwards
09/16/2023, 1:42 PM