Is there a way to run a bash script at /home/dotcloud/current/app_name from within django? The file I'm trying to run is there, but I'm getting an OS error saying the file doesn't exist. I think it is something to do with the environment that django runs within on the dotcloud servers.
Asked
Active
Viewed 300 times
1 Answers
1
With @KenCochrane 's answer I had a closer look, and eventually figured out that it was Windows line ending conventions that were causing the problem (originally developed the script directly on the server and it was fine, but line conventions got switched when I copied the contents of the script and create a file which was then pushed to the server).

Trent
- 2,328
- 3
- 33
- 51