You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 30, 2023. It is now read-only.
var phantomjsprocess = require('child_process').execFile(phantomjs.path, childArgs);
phantomjsprocess.stdout
.on('data', function (data) {
grunt.verbose.writeln(data.trim());
})
// having some difficuties to pass phantomjs errors to stderr, so listens to stdout for errors
.on('data', function (data) {
if( data.match(/^(ERROR: )/) ){
grunt.log.writeln(data.trim());
}
});
this does not, or seems not.
var phantomjsprocess = require('child_process').execFile(phantomjs.path, childArgs);
phantomjsprocess.stderr
.on('data', function (data) {
grunt.log.writeln(data.trim());
});
I read the issue #10232 it is exactly my problem, but so far, i can t get it working.
Do you have any hints ?
thanks.
The text was updated successfully, but these errors were encountered:
Hello,
Using lastest phantomjs 1 9 7, i can t manage to write to stderr using console.err.
In the front end script
In thephantomjs script
this works
this does not, or seems not.
I read the issue #10232 it is exactly my problem, but so far, i can t get it working.
Do you have any hints ?
thanks.
The text was updated successfully, but these errors were encountered: