[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fab-user] An issue regarding the sequence of printed messages
From: |
Morgan Goose |
Subject: |
Re: [Fab-user] An issue regarding the sequence of printed messages |
Date: |
Thu, 21 Oct 2010 22:01:01 -0400 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
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
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/fab-user
---end quoted text---