Skip to main content
Filter by
Sorted by
Tagged with
-3 votes
0 answers
56 views

The question is in the comments: (I am typing more text here only because the posting widget is demanding more details. All the info needed is in the comments.) public static StringBuilder ...
Kafka's user avatar
  • 95
0 votes
2 answers
93 views

I have created an endpoint which gets audio and images bytes as request parts @PostMapping(value = "/videos",consumes = MediaType.MULTIPART_FORM_DATA_VALUE,produces = "video/mp4") ...
Hüseyin Çataloğlu's user avatar
0 votes
0 answers
79 views

Edit: None, Status or ExecutionState are not implemented so I need an alternative way to check it, but I don't have any clue where I should look. This is what I have: Option Explicit On Error Resume ...
t33st33r's user avatar
  • 301
1 vote
0 answers
68 views

I'm running an utility for using kubernetes via the model context protocol. I can call it from the shell like this (using the uv tool utilities): uvx kubernetes-mcp-server --port 8080. I am spawning ...
FLKR's user avatar
  • 75
-1 votes
1 answer
199 views

I’m building a lightweight process monitoring tool in C# (.NET Framework 4.6.2). Here’s my situation: I cannot use WMI due to it's speed; (this is slow for antivirus app). I also cannot rely on ETW (...
Sardor's user avatar
  • 27
1 vote
0 answers
155 views

I'm looking for legitimate methods to make a Windows user‑mode process harder to terminate. PPL would be ideal, but Microsoft is very selective about who can use it. What alternative options or best ...
twieczor's user avatar
1 vote
1 answer
104 views

I’m trying to measure the RAM usage of a specific application using C# (.NET Framework 4.6.2). I’ve already done some research and managed to get a result using Process.WorkingSet64, but the value ...
Sardor's user avatar
  • 27
1 vote
1 answer
122 views

This is some simple code in C++ which uses the fork() function: int main () { int p; int a,b; p = fork (); if (p==0) { cout<<"\nchild insert number:"<&...
riccardo airone's user avatar
0 votes
2 answers
136 views

I am working on a project in go (which I am not very familiar with), that runs as a systemd process and spawns child processes, but whenever the systemd service is restarted, I see warnings (sometimes ...
thiago's user avatar
  • 448
0 votes
1 answer
119 views

I have a binary sample (VirusShare_00238010bb86fd0bf4014c3d19f114b2) used in my research that behaves oddly when I try to measure its runtime When I run it directly with /usr/bin/time, it exits almost ...
Robert's user avatar
  • 1
0 votes
0 answers
105 views

I am using Android Jetpack Compose to build a little app, and don't seem to be able to run terminal commands. I have tried the following: val cmdExample1 = arrayOf("sudo", "apt", &...
Fi Li Ppo's user avatar
  • 310
0 votes
0 answers
120 views

I've got this software based kernel mode driver (KMDF) and I've called MmcopyMemory like the following (see below). Essentially I would like to patch a user mode process in memory. The two passed ...
blogger13's user avatar
  • 305
0 votes
1 answer
132 views

I've been diving deep on my learning Kubernetes clusters. I want to know how kubeadm starts up each control plane component and in what order? After reading the Kubernetes documents, I wasn't sure. ...
b01's user avatar
  • 4,404
0 votes
2 answers
105 views

I am trying to record CPU and memory utilizations of processes running in my window server using PowerShell. Script is running well but I am not getting anything if Mutiple process are running with ...
Vineet's user avatar
  • 37
0 votes
0 answers
42 views

I've a command line process (https://mpv.io) running on its own terminal window on macOS. I'm attaching to it via an ssh'ed lldb -p <PID> and want to be able to control said app via key presses ...
Adonis's user avatar
  • 1
1 vote
1 answer
83 views

I am trying to use the multiprocessing module to parallelize a CPU-intensive piece code over multiple cores. This module looks terrific in several respects, but when I try to pass lists and ...
SapereAude's user avatar
0 votes
1 answer
117 views

I am developing an application that is supposed to run a setup and then write configuration files in certain folders. The issue is about the setup. It is an old setup that install through a series of ...
Pap Matta's user avatar
1 vote
2 answers
153 views

I'm writing a CLI in Rust, and I want it to work on Windows or Linux. I want it to invoke Maven in order to run a Java program. I already have this working in a Bash script that I can invoke via Git ...
Garret Wilson's user avatar
1 vote
1 answer
53 views

I have a very simple python script inifinity_loop.py: import time i = 0 interval = 5 while True: print(f'I am counting {i} seconds') time.sleep(interval) i += interval and I want to ...
xymzh's user avatar
  • 223
-2 votes
1 answer
78 views

I've searched around and couldn't quite find and answer to this. I'm trying to get C to open a bash program called L. The I want to be able to run the program using something close to system or popen. ...
ClemsonCoder's user avatar
0 votes
0 answers
37 views

For context, I'm helping peers attribute stock tickers to a number of text sample. I'm currently opening a connection to gemma3.1:1b and asking the LLM to attribute a ticker or None per text sample. I'...
TheShanachie's user avatar
0 votes
1 answer
189 views

I am following a book on Java 'Java: The Complete Reference, 11th Edition" which has the following code class ExecDemoFini { public static void main(String args[]) { Runtime r = ...
Mrinmoy Sadhukhan's user avatar
0 votes
0 answers
76 views

I am trying to change tkinter elements from other python processes (in seperate files). Is it possible to do so without restarting the start.py GUI window from end.py due to the import start in my ...
Simplicissimus's user avatar
-2 votes
2 answers
119 views

so what is the difference between these two vhdl programs: process(clk) begin if(clk=1) q<=d; end if;end process; and this one: process(clk) begin if(rising_edge clk) q<=d; end if;end ...
Gahit Moncef's user avatar
0 votes
1 answer
116 views

I have a Windows Forms App, that will in the end launch a SteamApp. I want my App to wait until the Game is found and when it's closed to do some more stuff. So in short lauch SteamApp and then wait ...
Aergernis's user avatar
0 votes
1 answer
79 views

I’m trying to understand how operating systems load a program into memory from a hardware perspective. I know that DMA (Direct Memory Access) is used for I/O operations, allowing data transfer between ...
sh1220's user avatar
  • 1
2 votes
2 answers
100 views

My question is based on the solution suggested to a similar question. Suppose I have an arbitrary virtual address. The solution asks to try writing to "/dev/null" with that virtual address ...
Abhishek Ghosh's user avatar
0 votes
0 answers
61 views

I am trying to run a test for my project that will need the whole API app to run by using process to start and run the application on a real TCP socket for eventual pact testing. The API seems to ...
Isaac Richardson's user avatar
0 votes
0 answers
69 views

I'd like to create a .NET 8 app, but I need to use Crystal Reports as reporting engine. Unfortunately CR doesn't support .NET Core. I think that my best option is to create an external .NET 4.8 ...
Disti's user avatar
  • 1,601
0 votes
1 answer
58 views

So I thought I'd have a bit of fun writing a small app in Swift to batch convert .py files to .mpy, using mpy-cross. mpy-cross works fine from the command line - it takes a .py file and outputs a new ....
SomaMan's user avatar
  • 4,174
0 votes
0 answers
54 views

I'm trying to replace "/usr/bin/echo" by "/usr/bin/ls" in sys_execve(), the modified code is the following. SYSCALL_DEFINE3(execve, const char __user *, filename, ...
Bering's user avatar
  • 1
2 votes
0 answers
116 views

I am new to network programming. I am on Linux, and I am using C++, the sockets API, and process API. I am trying to understand if what I am trying to do is possible or not. The goal of my program is ...
Adam Shkolnik's user avatar
1 vote
0 answers
40 views

I’m using GNU screen to run a service, but when I stop the session, the processes running inside it are not always terminated properly. This results in ports remaining occupied and prevents the ...
JamesStandbridge's user avatar
2 votes
2 answers
116 views

I have an executable that does a bunch of processing and then waits for a keypress. I'm trying to run this Powershell script from the Windows scheduler. Here's my original attempt: $logFile = "...
Craig's user avatar
  • 351
0 votes
0 answers
83 views

We are using kong api gateway and there are no active users for our module with kong as it’s not yet in production. Still simply running the kong api gateway, its nginx worker process consumes appr. ...
Parag Thamke's user avatar
0 votes
1 answer
69 views

As title suggests, I was interested into making a process start directly on the host, called inside a Docker container. Do you have any idea on how I could accomplish this goal? To be more precise, ...
Mattia Sospetti's user avatar
3 votes
0 answers
83 views

I am working on a C program that simulates a hair salon, and I'm facing an issue with terminating the main process from the simulation_timer_thread. The only way I can successfully exit the main ...
Bartłomiej's user avatar
0 votes
0 answers
37 views

I'm beginer of electron, and I learned I can execute external program with spawn function. But, when I execute external program, I can't see output data of the program immediately. This is my external ...
JayJay-K's user avatar
0 votes
0 answers
38 views

I'm running my deno program like this deno task dev which corresponds to deno run --allow-all --watch src/server/main.ts --watch-client Within my main.ts I want to get the current full Deno command, ...
lviggiani's user avatar
  • 6,178
5 votes
1 answer
339 views

this behaviour has been driving me crazy, lately, though there is probably a reasonable explanation, maybe even a fix. I am currently learning C and have to write my own shell in school and was ...
user29561092's user avatar
2 votes
0 answers
62 views

I implemented a web app for visualizing test data to charts. When the app starts to run, it opens a tab in the browser and shows data. I build .exe with parameters --windowed for not having console ...
LM2020's user avatar
  • 21
0 votes
0 answers
26 views

I have this command line that someone helped me with: type "\\NetworkDriveLocation\Folder\test.pdf"|find "pdf:Keywords" I want to execute this in C# using System.Diagnostics....
user3121062's user avatar
4 votes
0 answers
112 views

I have a C# app that runs in Linux. It must, at some point, start another app as a separate process, and then exit itself. Every time I try to do this, the new process dies with the old one. I've ...
user2254958's user avatar
2 votes
0 answers
117 views

Within my Mac application, I start a long running process (a local server) as so: let process = Process() process.launchPath = "/bin/zsh" process.arguments = ["-c"] + ["'\(...
Guig's user avatar
  • 10.6k
-2 votes
1 answer
138 views

Open 3 terminals, which I'll call A, B, and C, and execute the following: socat TCP-LISTEN:12345,fork - in A, pidof socat in B, socat TCP-CONNECT:localhost:12345 - in C, pidof socat again in B. Step ...
Enlico's user avatar
  • 30.3k
0 votes
0 answers
61 views

I'm having an issue with some code I'm writing. I'm getting this pwntools error about too many files being open. My code looks like. for a in range(0,2**3360): try: with open(&...
Michael Hearn's user avatar
3 votes
2 answers
740 views

When investigating what files a process is currently actively working with, I can use tools from Sysinternals like handle.exe or procexp.exe and then look for names looking like file patterns. But ...
Dennis's user avatar
  • 2,128
0 votes
0 answers
71 views

I've a custom Windows service (written in C#) which basically I'm using for whitelisting or blacklisting Windows applications. I don't want to use any existing Windows functionality or any commercial ...
Achal Parikh's user avatar
0 votes
1 answer
25 views

I opened a terminal and executed the following commands: $ sleep 100000 & $ sleep 100000 & $ bash -c '{ sleep 100000 & } && cat && sleep 500000' Now I have this process ...
ynn's user avatar
  • 5,087
1 vote
1 answer
312 views

I have an ASP.NET Core 9 application running in a linux docker container. Made using this dockerfile: FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base WORKDIR /app # Install base components RUN apt ...
Mr. JWolf's user avatar
  • 1,415

1
2 3 4 5
365