Questions tagged [process]
This tag is about operating system processes. It may also refer to a specific construct on a given platform, e.g., the System.Diagnostics.Process class for .NET
process
18,314
questions
0
votes
0
answers
43
views
Is there a way to write an image to memory with Python and read it from another application written in C++?
I would like to create and write an image to the memory in such a way that other processes are able to read it. The goal is to have a Python script create some graph using matplotlib.pyplot, write it ...
0
votes
0
answers
13
views
How to avoid races with process IDs when reading /proc
As I understand it, on Linux process IDs are reused, and also the only API for a lot of process-related stuff (e.g. finding child processes of a specific process) is /proc/<pid>/....
But don't ...
0
votes
0
answers
20
views
Independent socket.io servers on separate child processes
I've been working with express and socket.io, and have successfully created two different apps that serve clients from a domain. So now I'm interested in having the main page for my domain be a portal ...
0
votes
1
answer
58
views
When a user process swaps out a page, is the virtual address of the page in user space or kernel space?
I am a beginner in Linux and have always been confused about the difference between kernel space and user space.
I am currently researching memory management and would like to know if the virtual ...
0
votes
1
answer
35
views
Why is it I don't get pwd result from this dart code?
I'd like to get the result of my command line 'pwd' from my Dart console program.
I wait for the process to start, install the listeners and wait for the task to complete.
I don't get the result ...
0
votes
0
answers
10
views
Empty Output When Trying to Launch Kali Linux Through WSL Using C# CMD
I am facing an issue while attempting to launch Kali Linux through Windows Subsystem for Linux (WSL) using C# code. The problem arises when I try to run commands in Kali Linux through WSL, and the ...
0
votes
1
answer
55
views
Open a Visible Cmd Window In Java
I currently have some code that executes a task:
this.cmds = new String[] { "cmd.exe", "/c", customCmd };
ProcessBuilder pb = new ProcessBuilder(cmds);
try {
pb.start();
} ...
0
votes
1
answer
83
views
Error when reading a file used by two separate Java processes
I have to implement two player objects on separate JAVA processes. The player objects have to send each other messages back and forth and there has to be a common counter variable between them that ...
-1
votes
0
answers
14
views
Cannot kill process which ocupying the port 8080 after executing "kill" cmd
I cannot kill the process that ocupying the port 8080. After I find the current process which takes the 8080 and kill it, it shows that there is another process would take the 8080.
First I try the ...
0
votes
0
answers
32
views
Does processes triggered by ProcessPoolExecutor.submit have any kind of interference with each other?
Background:
.
├── app.py # API source code file
├── worker.py # CPU-bound task
I am using ProcessPoolExecutor().submit() in app.py to execute an entrance function main() stored in worker.py. As long ...
0
votes
0
answers
15
views
C# List of running processes using windows services vs console app [duplicate]
I tried to use the version described in#37 from .NET console application as Windows service #37 with the files:
Program.cs
MyService.cs
MyServiceInstaller.cs
in order to list into a file the ...
0
votes
0
answers
14
views
elisp process-send-string giving unexpected error "process not running: listen"
I'm trying to create a simple network RPC server/client thing in emacs lisp.
So far I have the following (somewhat minimalist) code:
(defun handle-connection (proc msg)
(message (format "...
-2
votes
1
answer
55
views
My code only works on one image file the rest of the image files are read and saved but untouched by my code I need my code to work on all image files
I'm new to Python. I'm using Glob to Batch Process multiple image files. When I run my code, it processes and saves all image files as it should, but only one image file is affected by my code all ...
0
votes
1
answer
25
views
Is it possible to identify pages dedicated to threads in the Linux kernel?
So I'm working on some process and thread migration code for a project I'm working on with a few others. What I want to do is for process migration we identify the pages for the virtual address space ...
0
votes
0
answers
23
views
Bull queue job with fetch blocking the node event loop?
we have started to use Bull queue to process our background tasks (Heroku platform, Node.js, Redis). Time to time it happens that some job gets stuck in the active state and no other tasks are being ...