Youd could hide the fabric ouput with in the scope of the command and just
manually print out the executing line to your liking before the call:
with settings(hide=everything):
print "Executing %s..." % command
run(command)
goose
On Thu, Oct 21, 2010 at 07:38:55PM -0400, Yungwei Chen wrote:
> Hi,
>
> I noticed that the 'Executing ....' is always printed after the output of
> subprocess.call statement.
> Is there a workaround for it? Thanks.
>
> print "Executing %s..." % self.bash_script_deploy_war_file_path;
> rv = subprocess.call([self.bash_script_deploy_war_file_path,
> self.tomcat_name, self.war_file_name, self.rename]);
>
> _______________________________________________
> Fab-user mailing list
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/fab-user
---end quoted text---
_______________________________________________
Fab-user mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/fab-user