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
I try to execute this command (gtm report) from a custom nodejs application. But seem that this command remain in pending status, without generating errors or output.
Here the js code
constexec=require('child_process').execexec('bash -c "gtm report"',(err,stdout,stderr)=>{// Here the script not enter :(console.error("Error",err)console.log("STDOUT",stdout)console.log("STDERR",stderr)})
If i change command with a more simple gtm --help output is correct.
For testing purpose i do the same in go calling:
out, err:=exec.Command("bash","-c","gtm report").Output()
iferr!=nil {
log.Fatal(err)
}
fmt.Printf("output is %s\n",out)
In this case out is empty.
Can this issue related with the Spinner printed before results?
The text was updated successfully, but these errors were encountered:
Yes it is the spinner that is interrupting the reporting output. We would have to add an option to turn off the spinner for the reporting command if you want to grab it's output. I'll add that our list.
I try to execute this command (gtm report) from a custom nodejs application. But seem that this command remain in pending status, without generating errors or output.
Here the js code
If i change command with a more simple gtm --help output is correct.
For testing purpose i do the same in go calling:
In this case out is empty.
Can this issue related with the Spinner printed before results?
The text was updated successfully, but these errors were encountered: