We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 01b52ee + f1018ff commit 5b9051aCopy full SHA for 5b9051a
file_diffs.py
@@ -6,6 +6,7 @@
6
import sublime_plugin
7
import difflib
8
import tempfile
9
+import subprocess
10
11
from fnmatch import fnmatch
12
import codecs
@@ -164,7 +165,7 @@ def trim_trailing_white_space(file_name):
164
165
if sublime.platform() == "windows":
166
Popen(external_command)
167
else:
- self.view.window().run_command("exec", {"cmd": external_command})
168
+ subprocess.Popen(external_command)
169
except Exception as e:
170
# some basic logging here, since we are cluttering the /tmp folder
171
sublime.status_message(str(e))
0 commit comments