mirror of
https://github.com/denoland/deno.git
synced 2024-12-11 01:58:05 -05:00
20 lines
284 B
TypeScript
20 lines
284 B
TypeScript
try {
|
|
new Deno.Command("curl", {
|
|
env: {
|
|
"LD_PRELOAD": "./libpreload.so",
|
|
},
|
|
}).spawn();
|
|
} catch (err) {
|
|
console.log(err);
|
|
}
|
|
|
|
try {
|
|
Deno.run({
|
|
cmd: ["curl"],
|
|
env: {
|
|
"LD_PRELOAD": "./libpreload.so",
|
|
},
|
|
});
|
|
} catch (err) {
|
|
console.log(err);
|
|
}
|