Questions tagged [spawn]
loading and executing a new child process
spawn
1,130
questions
0
votes
0
answers
9k
views
Failed to exec spawn helper: pid: xxxxxxx, exit value: 1
Executor updated: app-xxxxxxxxxx-xxxx/x is now FAILED (java.io.IOException: Cannot run program "/usr/lib/jvm/java-17-openjdk-amd64/bin/java" (in directory "/opt/spark/work/app-...
0
votes
0
answers
15
views
I'm on a linux box, trying to use pexpect.spawn to remote login to other linux boxes. But it looks like spawn and run disabled
I'm trying to use pexpect.spawn in a python script, but read on this forum that developers disabled spawn and run in pexpect module. I'm not using window, I'm trying to login from a linux box to other ...
0
votes
0
answers
40
views
NodeJS v14: issue feeding in multiple commands to living spawn process and extracting output
I'm trying to create a wrapper which uses spawn process (and keep it alive) so that I can pass in several powershell commands one at a time. Where the expectation is for the command to fully execute ...
0
votes
0
answers
17
views
NodeJS child_processes how to sync AbortController between children
I want to spawn 2 children that perform their own requests through the .download_sections.sh script. If one of them fails, I want to be able to abort the other child as well. This is what I came up ...
0
votes
0
answers
20
views
File not found at new WindowsPtyAgent when using pty for a spawn process of running another file through cmd
I am working on a Desktop app with electron framework which always has a terminal open the output of the processes run is shown in that terminal. I am using node-pty for this but when I try to pass a ...
0
votes
0
answers
44
views
sh spawn expect - handling multiple lines in expect command
I am encrypting source files using PGP encryption. After importing the key, every time I run the script it is expecting a confirmation. But in Production I am planning to use spawn and expect commands,...
0
votes
0
answers
27
views
NodeJS : Fail to write byte array input from webcam to ffmpeg spawn process
I'm using NodeJS server to display an HTML page which has webcam option. Once user visited to my NodeJS server, it will serve html page. User can allow webcam option and see webcam view on the page.
...
0
votes
0
answers
22
views
Spawn child process in electron
I need to spawn a child process in electron (currently MPV instance). As the contextIsolation, I am unable to directly use node in renderer, but If I understand correctly, in preload script it should ...
0
votes
0
answers
22
views
Why jupyter hub spawner fails during startup
I have pulled the jupyterhub/jupyterhub docker image into my local machine. When i launch it, it asks a username and password that i don't know. What should be a defaut username and password ?
I tried ...
0
votes
1
answer
63
views
tokio::try_join! doesn't return early for tokio::spawn handlers
#[tokio::main]
async fn main() -> io::Result<()> {
// ...
let handle1 = tokio::spawn( async move {method1().await });
let handle2 = tokio::spawn( async move {method2().await });
let handle3 ...
1
vote
0
answers
25
views
Python: Prevent multiprocessing.Pool from spawning windows when no shell/console is available
Environment:
Windows, Python 3.12
Problem Summary:
I have a Python application that utilizes a multiprocessing.Pool to process a bunch of files in parallel:
proc_count = 16
with multiprocessing.Pool(...
0
votes
0
answers
18
views
executable name gets argument with windowsVerbatimArguments = true @ node-child-process-spawn (Win32)
Is the following a bug or a feature ?
The second part of the executable C:\Program Files\Notepad++\notepad++.exe will become the first argument of the command spawned with
require('child_process')....
0
votes
0
answers
56
views
How to avoid string truncate coming from python print method to node js application
I am running a python script from node JS application as
const { spawnSync } = require('child_process');
const pythonProcess = await spawnSync(python3, [
scriptFilePath,
'methodNameToExecute',
...
0
votes
0
answers
20
views
Trouble executing Python executable within an Electron-React application on macOS despite successful execution on Windows
I'm facing an unexpected challenge while trying to execute a Python executable within an Electron-React application on macOS, utilizing spawn() method. The following code snippet executes smoothly on ...
1
vote
1
answer
70
views
How to despawn and spawn a model
I am making a small Point-and-click slice for a project I am working on.
Intentionally aiming for something very simple and easy to do.
My goal is essentially a First person PoV 3D game, where you don'...