Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.

Commit

Permalink
Allow spaces in directory path. Fixes #323 (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
tisgro authored and sapegin committed Aug 24, 2016
1 parent 3703907 commit 649396e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/engines/fontforge.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module.exports = function(o, allDone) {
var args = [
'fontforge',
'-script',
path.join(__dirname, 'fontforge/generate.py')
'"' + path.join(__dirname, 'fontforge/generate.py') + '"'
].join(' ');

var proc = exec(args, {maxBuffer: o.execMaxBuffer}, function(err, out, code) {
Expand Down Expand Up @@ -104,7 +104,7 @@ module.exports = function(o, allDone) {
logger.log( // cannot use error() because it will stop execution of callback of exec (which shows error message)
"fontforge process has unexpectedly closed.\n" +
"1. Try to run grunt in verbose mode to see fontforge output: " + chalk.bold('grunt --verbose webfont') + ".\n" +
"2. If stderr maxBuffer exceeded try to increase " + chalk.bold('execMaxBuffer') + ", see " +
"2. If stderr maxBuffer exceeded try to increase " + chalk.bold('execMaxBuffer') + ", see " +
chalk.underline('https://github.com/sapegin/grunt-webfont#execMaxBuffer') + ". "
);
}
Expand Down

0 comments on commit 649396e

Please sign in to comment.