               throw err
           )
       )
+
+  relativizePaths: (args) ->
+    tmpDir = os.tmpDir()
+    newArgs = args.map((arg) ->
+      isTmpFile = typeof arg is 'string' and path.isAbsolute(arg) and path.dirname(arg).startsWith(tmpDir)
+      if isTmpFile
+        return path.relative(tmpDir, arg)
+      return arg
+    )
+    newArgs
 
   ###
   Spawn

path = require('path')
semver = require('semver')
shellEnv = require('shell-env')

parentConfigKey = "atom-beautify.executables"


      .then(([exeName, args, env, exePath]) =>
        @debug('exePath:', exePath)
        @debug('env:', env)
        @debug('PATH:', env.PATH)
        @debug('args', args)
        args = this.relativizePaths(args)
        @debug('relativized args', args)

        exe = exePath ? exeName
        spawnOptions = {
          cwd: cwd
          env: env
        }
        @debug('spawnOptions', spawnOptions)

        @spawn(exe, args, spawnOptions, onStdin)
          .then(({returnCode, stdout, stderr}) =>
