Fix for new codebox version where createShellCommand returns a promise

In the new codebox version (it will be online tonight), createShellCommand returns a promise.