run_check_fs_cmd: Run and Check a Freesurfer Command
Description
Checks whether an output filename exists before a command
has run, prints and runs the command, and then checks the output from the
result.
Usage
run_check_fs_cmd(cmd, outfile, verbose = TRUE)
Arguments
outfile
Output file to be produced
verbose
print diagnostic messages