Passing the directory that contains the XDS input files, used by for instance
processing.
using Popen instead, this seems to detach the child process properly