5

When I create new run configurations in Eclipse it creates a run command like the following: python.exe -u manage.py runscript my_script.py, regardless of whether I try making a Python Run config, or a Django run config.

How do I make it run python.exe manage.py runscript my_script.py instead? (no -u switch).

I've assumed the -u is why it's breaking, as running python.exe manage.py runscript my_script.py works just fine from a plain old bash prompt.

Enno Shioji
  • 26,542
  • 13
  • 70
  • 109
Trindaz
  • 17,029
  • 21
  • 82
  • 111
  • 2
    Does python.exe -u manage.y runscript my_script.py work from a command prompt? All -u does is make output unbuffered, so I'd be surprised if this is breaking the script. Seems more likely that there's a path problem. – Malcolm Box Aug 29 '11 at 10:41
  • Do you receive any error message when executing run configurations? – fest Sep 19 '11 at 07:32

1 Answers1

0

Try "run -> run..." and then edit the arguments.

http://www.cs.colostate.edu/helpdocs/cmd.pdf

Paul McMillan
  • 19,693
  • 9
  • 57
  • 71