Add --norc to bash args

See #7
This commit is contained in:
Yuya Tanaka 2016-04-18 16:52:27 +09:00
parent ef0d9f356f
commit 4f94674974

View file

@ -96,7 +96,7 @@ final class Formatter {
let task = NSTask() let task = NSTask()
task.launchPath = "/bin/bash" task.launchPath = "/bin/bash"
task.arguments = [ task.arguments = [
"-l", "-c", "which \(name)" "--norc", "-l", "-c", "which \(name)"
] ]
task.currentDirectoryPath = workingDirectory task.currentDirectoryPath = workingDirectory
task.standardOutput = pipe task.standardOutput = pipe