I have the following task:
@task(track_started = True)
def run_transcode_server():
commands = ('java', '-cp', settings.TRANSCODE_CLASSPATH, settings.TRANSCODE_JAVA_CLASS)
subprocess.call(commands)
Making the call to subprocess.call directly in the django shell works just fine. However, when celery tries to run that task, it causes this error: WindowsError: [Error 5] Access is denied
.
I am running everything under the same user (this is my development environment).
What is causing this? Why can't celery execute subprocesses?