2,239 questions
Score of 0
0 answers
69 views
Electron.js + React + Go (Fiber) build issue: React UI blank screen when backend is bundled, but works when running backend separately
I am building a desktop application using Electron.js with a React frontend and a Go (Fiber) backend.
During development (npm run dev), everything works perfectly. However, I am facing an issue when ...
Best practices
0
votes
1
replies
129
views
How can I validate uploaded files in NestJS without spawning too many child processes?
I am implementing file uploads in a NestJS app using Multer.
For security, I want to validate the real file type instead of trusting the extension or the client-provided MIME type. Right now I am ...
Score of 0
1 answer
763 views
Calling Claude CLI as a child process yields no output
I am trying to use the automation features built into the Claude CLI. Namely, if you pass in the --print flag argument, with a prompt (and --allowed-tools to make it actually do something) it will ...
Score of 1
1 answer
55 views
An object with a Redis object in its attribute can't be serialized. How to modify it for serialization without delaying the connection?
When writing a multi-process program for web scraping, I passed an object of my custom RedisQueue class as an argument to the multi-process task function. This class contains a Redis object as one ...
Score of 0
2 answers
105 views
Why does ffmpeg not produce data in a NodeJS child_process?
I'm developing a suite of NodeJS-based tools that accepts a real-time audio pipeline from a Websocket connection (Webaudio API format), resamples the audio, and sends it along to downstream services. ...
Score of 1
0 answers
100 views
run powershell script with specific AppUserModelID from node.js
I have some powershell script/command I wish to run form a node.js environment. But since the command is dependent on the 'AppUserModelID' it seems to fail since the command spawns a separate program (...
Score of 0
0 answers
62 views
Is it possible to host a REPL child process in rustyline?
I'm currently working on a rustyline program. My goal is to host another REPL program as a child process, and do something like auto complete its commands. However, I encountered a problem. The ...
Score of 1
1 answer
56 views
How handle the child process errors in Gulp?
The error in child process not always means that something fatal occurred.
For example in "vue-tsc" case, if there will be some TypeScript errors, the error parameter will be not null while &...
Score of 0
0 answers
387 views
How to implement recursive folder processing in Power Automate to handle dynamic folder depths?
I am working on a Power Automate solution to mirror the contents of a network drive (using the File System connector via on-premises data gateway) into a SharePoint document library.
The folder I want ...
Score of 0
1 answer
65 views
How to correctly refer to third-party executables when calling ChildProcess.exe() in Node.js?
Assume that:
dependency-a depends on dependency-b
dependency-a invokes the CLI of dependency-b via ChildProcess.exec()
dependency-a has been installed to some project sample_project
Then, the ...
Score of 0
1 answer
71 views
How to use ts-node with child-process.spawn() in Node
Working with Node.js 23.8 and want to run ts-node as a child process. I'm using ts-node to run cli.ts from the lv_img_conv library. I've installed both the lv_img_conv and ts-node libraries globally. ...
Score of 0
0 answers
56 views
Running "Exec' Child Process Second Time Crashes the Nodejs App
I am running a bash command using nodejs child_process exec function. I start the app and execute the shell, and it works successfully. It's an expressjs app running with nodemon.
But on second time ...
Score of 2
1 answer
171 views
Windows: passing a file handle to child process as an osfhandle
I'm trying to implement interoperability between a host process written in C++ and a child process which is a Node.js instance on Windows. I do not have control on the child process's IPC API, I have ...
Score of 1
1 answer
121 views
Python sigwait on SIGCHLD - does not return on child termination
I am trying to wait in python until either
some given signal fires (the signal itself can be ignored)
a child process exits
There is a function os.sigwait that seems to fit this purpose, but I ...
Score of 0
1 answer
292 views
Node Child Process understanding additional STDIO pipes beyond 0, 1 and 2 in SPAWN method
I am currently upping my understanding on child processes (only spawn-method) in NodeJS by pondering over the respective manual and many other sources.
All sources (which I have seen so far) only ...