Tapatalk

Capturing Command Output in Tools

Capturing Command Output in Tools

3
NewbieNewbie
3

PostJan 24, 2012#1

I've created a Tool to run perltidy, capture the command output and replace the existing:

Tools > Tool Configuration

Command:
Command line: perltidy -pbp -sob -sot -vt=2 -nsob -sbcp=#= %f
Working Directory: %P

Output:
[x] Capture Output
[x] Replace Existing

However, when I use the tool a new tab opens in the editor entitled Command Output 1, with the command output, except with no empty lines in it, and the original file remains unchanged.

OS: Mint 12
UEX: 2.2.09

Anyone able to help?

PostJan 24, 2012#2

Update: having updated UEX to 2.3.0.9, the command output now replaces the existing content. However, the empty lines are still missing. For example:

Before:

Code: Select all

=head1 SYNOPSIS

=head1 DESCRIPTION

=head1 METHODS
After:

Code: Select all

=head1 SYNOPSIS
=head1 DESCRIPTION
=head1 METHODS
If I run the command on the command line, the empty lines are preserved (as expected).