Hi,
I hope it is okay for me to post a programming related question here. I hope it doesn't spam the entire group w/ this question. Let me know! I tried IRC, been it seems ppl are away from keyboard (AFK).
I am trying to run
patch and/or
git apply for my rb patch command (WIP here
http://reviews.reviewboard.org/r/3440/). I think I get the string command correct. For example, my rb patch would generate a string like "
git apply /tmp/tmpX/' or '
patch -pX < /tmp/tmpx'.
If I run that string in my terminal, the patch would work fine. However, every time I run it through execute(), call(), I get OSError: [Errno 2] No such file or directory. I've also tried this on trivial files, such as the ones in the current directory, and I still get the same error. Clearly, python is not happy when it tries to find a file listed as an argument to a command. I've also tried \\ (double backslashes) and still no luck.
Any one got any hints to solve this issue? I've been stuck on this for quite some time.