Make collective.recipe.supervisor run scripts as if in another directory

published Jun 08, 2013 12:10   by admin ( last modified Jun 09, 2013 12:12 )

Summary, give the directory path without square brackets and without quotes.

At least that's what worked for me. In the documentation on pypi you read the following syntax:

priority process_name [(process_opts)] command [[args] [directory] [[redirect_stderr]] [user]]

It seems like the parameters both before the directory specification and the one behind, should be given in square brackets. Maybe that is why the directory specification should be given without. Maybe it is simply defined as anything between the brackets and hence also even accepts spaces, but have not tried that one. Bracketing it in double quotes did not work. Tested with the recipe pinned to version 0.17.

 

priority process_name [(process_opts)] command [[args] [directory] [[redirect_stderr]] [user]]


Read more: Link - collective.recipe.supervisor 0.19 : Python Package Index