Accessible Command Output using self.stdout & self.stderr

2010-07-13 Thread maxweld
I would like to propose that all commands in core.management be modified to enable command output to be directed to self.stdout and self.stderr so that the command output can be captured and made accessible to an application. I use a virtual web hosting environment where no shell access is permitt

Re: Accessible Command Output using self.stdout & self.stderr

2010-08-01 Thread maxweld
Hi Russ Ok - so I have a Git repository with Django trunk in it, and have proceeded to change the commands. Following the changes there are no failures in the regression tests. I am now trying to add new tests to prove that my changes actually work. Here is where I run into a few problems, no dou

Re: Accessible Command Output using self.stdout & self.stderr

2010-08-01 Thread maxweld
On Aug 1, 6:47 pm, Eric Holscher wrote: > You need to pass in your custom stdout into the call_command function. You > can see[1] where it takes those inputs and assigns them to your provided > values. Thanks Eric - that made sense and test is now working. Is there any way to supply a response