Use executeCommand from Jasy and update it accordingly so it supports both approaches: wrap output and print output.