Customize captureStandardOutput value