are you sure they are using the same binary? The bash shell probably pushes a new shell, which sources your dot files, etc...
On Wed, 19 Jun 2013, Caspar M. Schwiedrzik wrote:
Hi Freesurfers, I am getting a segmentation fault with the 4.5 version of mri_convert when trying to convert an AFNI BRIK file into nii. This is my command line: mri_convert -i input+orig.BRIK -o fde.nii --in_like f.nii Strangely, I only get the segmentation fault when I run mri_convert in a bash script, in which case it is called like this: `mri_convert -i input+orig.BRIK -o fde.nii --in_like f.nii` When I run mri_convert from the command line, no segmentation fault occurs. Any advice? Thanks, Caspar _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer