mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -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);
|
|
}
|