Commit f4b9d782 authored by Patrick Shriwise's avatar Patrick Shriwise
Browse files

Including subprocess path when logfile is not provided

parent cb21417a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -105,6 +105,10 @@ class PyGriffin:
                                     cwd=str(cwd),
                                     stdout=OUT,
                                     stderr=OUT)
        else:
                p = subprocess.Popen(cmd,
                                     universal_newlines=True,
                                     cwd=str(cwd))
        return p.wait()

    def process_xs(self, overwrite=False, particle='neutron', cwd=None):