diff --git a/src/componentize.js b/src/componentize.js index 5bd6c0ee..eb9df22f 100644 --- a/src/componentize.js +++ b/src/componentize.js @@ -257,8 +257,8 @@ export async function componentize( let args = `--initializer-script-path ${initializerPath} --strip-path-prefix ${workspacePrefix}/ ${sourcePath}`; runtimeArgs = runtimeArgs ? `${runtimeArgs} ${args}` : args; - let preopens = [`--dir ${sourcesDir}`]; - preopens.push(`--mapdir /::${workspacePrefix}`); + let preopens = [`--dir=${sourcesDir}`]; + preopens.push(`--mapdir=/::${workspacePrefix}`); let postProcess; @@ -279,7 +279,6 @@ export async function componentize( stdio: [null, stdout, 'pipe'], env, input: runtimeArgs, - shell: true, encoding: 'utf-8', }, );