diff --git a/samples/system-test/sample.test.js b/samples/system-test/sample.test.js
index <HASH>..<HASH> 100644
--- a/samples/system-test/sample.test.js
+++ b/samples/system-test/sample.test.js
@@ -16,7 +16,9 @@
 'use strict';
 
 const {assert} = require('chai');
-const {execSync} = require('child_process');
+const cp = require('child_process');
+
+const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'});
 
 describe('container samples', () => {
   it('should run the quickstart', async () => {
refactor: wrap execSync with encoding: utf-8 (#<I>)