mirror of
https://github.com/denoland/deno.git
synced 2024-11-30 16:40:57 -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);
|
|
}
|