History of AFNI updates  

|
June 29, 2022 03:54PM
Hi, Josh-

Indeed, the following crashed for me on Mac OS (which you are using):
+ Running "bash test_drive.sh", when "test_drive.sh" looks like:
#!/bin/sh

afni -com 'OPEN_WINDOW A.axialimage' \
FT_epi_r1+orig.HEAD
... run in the Bootcamp dataset: ~/AFNI_data6/FT_analysis/FT/. (Note that on Ubuntu, it worked fine).

However, this worked for me, with the addition of sourcing ~/.bashrc:
#!/bin/sh

source ~/.bashrc

afni -com 'OPEN_WINDOW A.axialimage' \
FT_epi_r1+orig.HEAD

... so I think it is an issue of how Mac shells source ~/.bash* files (or not, as the case may be) when a script is run.

--pt
Subject Author Posted

SIGSEV when trying to drive AFNI from command line

jbteves June 29, 2022 03:08PM

Re: SIGSEV when trying to drive AFNI from command line

ptaylor June 29, 2022 03:54PM

Re: SIGSEV when trying to drive AFNI from command line

ptaylor June 29, 2022 04:02PM

Re: SIGSEV when trying to drive AFNI from command line

jbteves June 29, 2022 04:16PM

Re: SIGSEV when trying to drive AFNI from command line

ptaylor June 29, 2022 04:53PM

Re: SIGSEV when trying to drive AFNI from command line

rick reynolds June 29, 2022 10:09PM

Re: SIGSEV when trying to drive AFNI from command line

jbteves June 29, 2022 10:32PM

Re: SIGSEV when trying to drive AFNI from command line

ptaylor June 29, 2022 10:42PM

Re: SIGSEV when trying to drive AFNI from command line

Daniel Glen June 30, 2022 04:50PM