Add command to report path to make figuring out which goat_pipeline is running
[htsworkflow.git] / htsworkflow / automation / runner.py
index 0ab22176b411f71c894fa8d33afa459c65f9191f..45d4ffcdee8d52a7786dc65816fcc6b8d8d78044 100644 (file)
@@ -83,6 +83,8 @@ class Runner(rpc.XmlRpcBot):
                 reply = u"starting run for %s" % (words[1])
             else:
                 reply = u"need runfolder name"
+        elif re.match(u"path", msg):
+           reply = u"My path is: " + unicode(os.environ['PATH'])
         else:
             reply = u"I didn't understand '%s'" %(msg)