From 58821e7aa70060a63a29caa28c370cc6aa359646 Mon Sep 17 00:00:00 2001
From: Michal Jurosz <mj@mj41.cz>
Date: Sat, 11 Aug 2012 21:16:34 +0200
Subject: [PATCH 3/4] Fix whitespaces.
---
Padre/lib/Padre/Wx/Main.pm | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Padre/lib/Padre/Wx/Main.pm b/Padre/lib/Padre/Wx/Main.pm
index a52feae..fb68314 100644
|
a
|
b
|
sub run_command { |
| 2950 | 2950 | # tome |
| 2951 | 2951 | my $pwd = $self->current->document->project_dir(); |
| 2952 | 2952 | $cmd =~ s/"/\\"/g; |
| | 2953 | |
| 2953 | 2954 | # Applescript can throw spurious errors on STDERR: http://helpx.adobe.com/photoshop/kb/unit-type-conversion-error-applescript.html |
| 2954 | | system qq(osascript -e 'tell app "Terminal"\n\tdo script "cd $pwd; clear; $cmd;"\nend tell'\n); |
| 2955 | | |
| | 2955 | system qq(osascript -e 'tell app "Terminal"\n\tdo script "cd $pwd; clear; $cmd;"\nend tell'\n); |
| | 2956 | |
| 2956 | 2957 | } else { |
| 2957 | 2958 | system qq(xterm -sb -e "$cmd; sleep 1000" &); |
| 2958 | 2959 | } |