@almadar/std 17.0.0 → 17.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,7 +2,7 @@ app std-orb-packages [
|
|
|
2
2
|
version: "1.0.0",
|
|
3
3
|
inbound: ["cli-packages"],
|
|
4
4
|
env: ["PATH"],
|
|
5
|
-
exec: [
|
|
5
|
+
exec: [exe],
|
|
6
6
|
sys: [identity],
|
|
7
7
|
fs: { cwd: "**": [read, write, create, remove], "/**": [read], "~/.orb/**": [read, write, create, remove], "~/.orb": [create] },
|
|
8
8
|
net: { "registry.npmjs.org:443": [tcp] },
|
|
@@ -526,7 +526,7 @@ orbital OrbPackagesOrbital {
|
|
|
526
526
|
PKG_RUNNING_FAILED -> ready
|
|
527
527
|
(emit PACKAGES_ANSWERED { status: 500, body: "", stderr: (str/concat "orb update: the running orb's language could not be read: " (default @payload.error "")) })
|
|
528
528
|
PKG_PATH_READ -> resolving
|
|
529
|
-
(os/spawn "
|
|
529
|
+
(os/spawn { anchor: "exe" } ["--version"] { cwd: null env: { PATH: (default @payload.value "") } stdin: "null" stdout: "pipe" stderr: "null" detached: false } { key: "spawn" emit: { success: PKG_SPAWNED, failure: PKG_RUNNING_FAILED } })
|
|
530
530
|
PKG_SPAWNED -> resolving
|
|
531
531
|
(set @entity.pid @payload.pid)
|
|
532
532
|
(os/read @payload.stdout 4096 { key: "version" emit: { success: PKG_VERSION_TEXT, failure: PKG_RUNNING_FAILED } })
|