Skip to content

feat: Add execFile Support #949

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 24 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
0955047
execFile WIP
nithinkjoy-tech Apr 12, 2025
948b11e
minor change
nithinkjoy-tech Apr 12, 2025
6736363
minor change
nithinkjoy-tech Apr 12, 2025
3a028b6
Added ARC reference for stdout and stderr
nithinkjoy-tech Apr 15, 2025
162f231
Added killed and normal process exiting
nithinkjoy-tech Apr 15, 2025
2d157a4
WIP
nithinkjoy-tech Apr 15, 2025
31c2244
modified test cases
nithinkjoy-tech Apr 15, 2025
7c5bf31
fixed buffer stream issue
nithinkjoy-tech Apr 16, 2025
26a8ef2
changed &Option<> to Option<&>
nithinkjoy-tech Apr 16, 2025
1f7d606
add and modify test cases
nithinkjoy-tech Apr 17, 2025
a4c5e17
removed debug statements
nithinkjoy-tech Apr 17, 2025
317bf2a
format readable.rs file
nithinkjoy-tech Apr 17, 2025
b238d83
Add execFile test in lib.rs file
nithinkjoy-tech Apr 17, 2025
d1177c4
remove unused import
nithinkjoy-tech Apr 17, 2025
3eb16e3
rename function
nithinkjoy-tech Apr 17, 2025
b2a0ede
Merge branch 'main' into nithin/feature-add-execFile-support
nithinkjoy-tech Apr 17, 2025
9a368e3
ran make fix changes
nithinkjoy-tech Apr 17, 2025
b39eb8c
make fix change
nithinkjoy-tech Apr 19, 2025
c06ff6f
Merge branch 'main' into nithin/feature-add-execFile-support
nithinkjoy-tech Apr 20, 2025
cdb84e5
Update API.md
nithinkjoy-tech Apr 20, 2025
103fc54
change Vec<Option<&Value<'js>>> to &[Option<&Value<'js>>]
nithinkjoy-tech Apr 23, 2025
e41e632
Removed cb argument
nithinkjoy-tech Apr 24, 2025
615ee43
refactor child_process
nithinkjoy-tech Apr 26, 2025
baca9e9
WIP
nithinkjoy-tech Jun 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ Everything else inherited from [Uint8Array](https://developer.mozilla.org/en-US/

[spawn](https://nodejs.org/api/child_process.html#child_processspawncommand-args-options)

[execFile](https://nodejs.org/api/child_process.html#child_processexecfilefile-args-options-callback)

## console

[Console](https://nodejs.org/api/console.html#class-console)
Expand Down
3 changes: 3 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion modules/llrt_child_process/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,18 @@ path = "src/lib.rs"

[dependencies]
itoa = "1"
either = "1"
llrt_buffer = { version = "0.5.1-beta", path = "../llrt_buffer" }
llrt_context = { version = "0.5.1-beta", path = "../../libs/llrt_context" }
llrt_events = { version = "0.5.1-beta", path = "../llrt_events" }
llrt_stream = { version = "0.5.1-beta", path = "../llrt_stream" }
llrt_url = { version = "0.5.1-beta", path = "../llrt_url" }
llrt_utils = { version = "0.5.1-beta", path = "../../libs/llrt_utils", default-features = false }
rquickjs = { git = "https://github.com/DelSkayn/rquickjs.git", version = "0.9.0", default-features = false }
rquickjs = { git = "https://github.com/DelSkayn/rquickjs.git", version = "0.9.0", features = [
"either",
], default-features = false }
tokio = { version = "1", features = ["process"] }
url = "2.5"

[target.'cfg(unix)'.dependencies]
libc = "0.2"
Expand Down
Loading