Third-party Python 2.5 script I'm trying to debug, silenced me. Relevant part of the script:
proc = subprocess.Popen( "ls && source houdini_setup", shell = True, executable = "/bin/bash", )
There is a daemon that listens on port 5001 and runs the above script. When the script is executed, it crashes with the following error:
_cygwin.py houdini_setup ... (more files) ... /bin/sh: line 0: source: houdini_setup: file not found
There are so many houdini_setup files, as shown in ls, and in fact, if I changed "source" to "cat" in the script above, the script prints the contents of houdini_setup as expected. Moreover, executing the exact command above in the bona-fide bash shell also sends the file without complaint.
Does anyone know what is going on here?
source share