diff --git a/content/docs/buildpack-author-guide/create-buildpack/adding-bill-of-materials.md b/content/docs/buildpack-author-guide/create-buildpack/adding-bill-of-materials.md index a13e4b9a8..19d35d510 100644 --- a/content/docs/buildpack-author-guide/create-buildpack/adding-bill-of-materials.md +++ b/content/docs/buildpack-author-guide/create-buildpack/adding-bill-of-materials.md @@ -144,7 +144,7 @@ EOL cat >> "${CNB_LAYERS_DIR}/launch.toml" << EOL [[processes]] type = "web" -command = "node app.js" +command = ["node", "app.js"] default = true EOL diff --git a/content/docs/buildpack-author-guide/create-buildpack/caching.md b/content/docs/buildpack-author-guide/create-buildpack/caching.md index da4b3676f..1265af90d 100644 --- a/content/docs/buildpack-author-guide/create-buildpack/caching.md +++ b/content/docs/buildpack-author-guide/create-buildpack/caching.md @@ -54,13 +54,13 @@ cat > "${CNB_LAYERS_DIR}/launch.toml" << EOL # our web process [[processes]] type = "web" -command = "node app.js" +command = ["node", "app.js"] default = true # our debug process [[processes]] type = "debug" -command = "node --inspect app.js" +command = ["node", "--inspect", "app.js"] EOL ``` @@ -121,7 +121,7 @@ EOL cat >> "${CNB_LAYERS_DIR}/launch.toml" << EOL [[processes]] type = "web" -command = "node app.js" +command = ["node", "app.js"] default = true EOL ``` diff --git a/content/docs/buildpack-author-guide/create-buildpack/make-app-runnable.md b/content/docs/buildpack-author-guide/create-buildpack/make-app-runnable.md index 69203e26d..a6ff3a3dd 100644 --- a/content/docs/buildpack-author-guide/create-buildpack/make-app-runnable.md +++ b/content/docs/buildpack-author-guide/create-buildpack/make-app-runnable.md @@ -15,7 +15,7 @@ To make your app runnable, a default start command must be set. You'll need to a cat > "${CNB_LAYERS_DIR}/launch.toml" << EOL [[processes]] type = "web" -command = "node app.js" +command = ["node", "app.js"] default = true EOL @@ -48,7 +48,7 @@ echo -e '[types]\nlaunch = true' > "${CNB_LAYERS_DIR}/node-js.toml" cat > "${CNB_LAYERS_DIR}/launch.toml" << EOL [[processes]] type = "web" -command = "node app.js" +command = ["node", "app.js"] default = true EOL ``` diff --git a/content/docs/buildpack-author-guide/create-buildpack/make-buildpack-configurable.md b/content/docs/buildpack-author-guide/create-buildpack/make-buildpack-configurable.md index cf65d2492..66ef24d23 100644 --- a/content/docs/buildpack-author-guide/create-buildpack/make-buildpack-configurable.md +++ b/content/docs/buildpack-author-guide/create-buildpack/make-buildpack-configurable.md @@ -81,7 +81,7 @@ EOL cat >> "${CNB_LAYERS_DIR}/launch.toml" << EOL [[processes]] type = "web" -command = "node app.js" +command = ["node", "app.js"] default = true EOL ``` diff --git a/content/docs/buildpack-author-guide/create-buildpack/specify-multiple-process-types.md b/content/docs/buildpack-author-guide/create-buildpack/specify-multiple-process-types.md index c3431cad6..4a2c1fe8f 100644 --- a/content/docs/buildpack-author-guide/create-buildpack/specify-multiple-process-types.md +++ b/content/docs/buildpack-author-guide/create-buildpack/specify-multiple-process-types.md @@ -16,13 +16,13 @@ cat > "${CNB_LAYERS_DIR}/launch.toml" << EOL # our web process [[processes]] type = "web" -command = "node app.js" +command = ["node", "app.js"] default = true # our debug process [[processes]] type = "worker" -command = "node --inspect app.js" +command = ["node", "--inspect", "app.js"] EOL # ... @@ -58,13 +58,13 @@ cat > "${CNB_LAYERS_DIR}/launch.toml" << EOL # our web process [[processes]] type = "web" -command = "node app.js" +command = ["node", "app.js"] default = true # our debug process [[processes]] type = "debug" -command = "node --inspect app.js" +command = ["node", "--inspect", "app.js"] EOL ```