10/06/2020, 11:50 AM
As a thanks, I will share with you my favorite ngspice command line for xschem. I don't know if you find it useful 🙂
$terminal -e 'set -o pipefail; (ngspice -b -r "$n.raw" "$N" | tee "$n.out") || (echo -e "\n** ngspice exited with error code $? **"; echo "Press enter to close"; read)'
That one works with gaw, it shows a window during the simulation but closes it if the simulation is successful. Output is stored in $n.out in addition to being into the terminal. I run that with "Fg" and not "Status".
👍 1