Win: custom action output not shown.

Running a .bat or .sh from as custom action (e.g. the .bat file below) does not show in the SourceTree command output pop-up. Instead a Command Prompt window pops up showing the script. How do I get this output in the Sourcetree output window?

I've enabled the Show Full Output. Below is what the test bat script looks like. I expect the output to show "hi" and "by" but it just says <script name> Completed successfully.

 

@echo off
echo "hi"
sleep 2
echo "by"

 

Does anyone know why the output is not shown? Am I doing something wrong?

 

BTW Runnign sourcetree 2.1.11.0 on Windows 10 (x64) machine.

0 comments

Comment

Log in or Sign up to comment
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

542 views 1 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you