18,270 questions
0
votes
0
answers
66
views
Changing tkinter elements from other files in python
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 ...
-2
votes
2
answers
80
views
Why do i need to use rising_edge in this VHDL code? [duplicate]
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 ...
0
votes
1
answer
102
views
Wait for Application running and wait until finished async/task
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 ...
0
votes
1
answer
39
views
Does DMA play a role in process loading (from disk to memory)?
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 ...
-1
votes
0
answers
19
views
maven-exec-plugin bat file
I have C# program that runs multiple commands using "cmd.exe" process. The process is simple: create "cmd.exe" with no window, redirect StandardInput/Output and Error. I write commands to Input and ...
2
votes
2
answers
83
views
`write(dev_null, addr...)` to check validity of virtual memory address `addr` using `errno=EFAULT` fails
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 ...
0
votes
0
answers
37
views
Running a Web API as a Process with a real tcp socket .NET
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 ...
0
votes
0
answers
66
views
C# and Winforms: show an external process form inside a local form
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 ...
0
votes
1
answer
37
views
Swift code to convert .py files to .mpy using mpy-cross
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 ....
0
votes
0
answers
39
views
How can I change the executable in sys_execve()
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,
...
2
votes
0
answers
85
views
Will passing the file descriptor of a socket to a child process still work correctly?
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 ...
1
vote
0
answers
25
views
How to Properly Stop a GNU screen Session and Ensure All Running Processes Are Killed?
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 ...
2
votes
2
answers
97
views
Powershell script to kill it after it runs AND capture standard output
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 = "...
0
votes
0
answers
29
views
Kong nginx worker process consumes close to 100 Mb memory when idle
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. ...
0
votes
1
answer
35
views
start a process in the host from docker container [duplicate]
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, ...