This also addresses a problem when running crash from within func as
crash was reporting no tty device found. The fix was to use the
redirection as seen in the below code
diff --git a/lib/cas/util.py b/lib/cas/util.py
index 5617771..d17232c 100755
--- a/lib/cas/util.py
+++ b/lib/cas/util.py
@@ -169,7 +169,7 @@ class UtilBase(object):
crashInputFH.close()
vmcorePath = os.path.join(dst, vmcore)
- crashCmd = "#!/bin/sh\ncrash %s %s -i %s -s\n" % (vmcorePath, debug,
+ crashCmd = "#!/bin/sh\ncrash %s %s -s < %s\n" % (vmcorePath,
debug,
crashInputPath)
crashExe = os.path.join(dst,"crash")
fh = open(crashExe,"w")
--
( adam stokes ) || ( adam.stokes(a)gmail.com )