Skip to main content
The 2025 Developer Survey results are in. Explore insights into technology and tools, careers, community and more. View results.
-3 votes
1 answer
95 views

How to cancel long-running tasks when a Go HTTP server is shut down? [duplicate]

I'm writing an HTTP server in Go that performs long-running tasks (e.g. data processing or computation). When the server shuts down via srv.Shutdown(ctx), I want in-progress handlers to stop, even if ...
Volodya Lombrozo's user avatar
1 vote
1 answer
106 views

When is it safe to drop gRPC stub and channel in C++ (Callback API)?

I'm building a C++ gRPC client using the Callback API. The client sends many asynchronous RPCs, waits for all of them to complete, and then immediately exits. The problem: If the application exits ...
dornbirndevelops's user avatar
2 votes
1 answer
79 views

Applescript shut down issues

I'll apologize upfront for posting another dang question/problem with an AppleScript shut down app. I must have read 1,000 threads relating to this topic. Sequoia 15.3.2 2025 Apple M4 pro I've pared ...
Uncle Bill's user avatar
1 vote
1 answer
106 views

Why does my Python program not terminate successfully when multiple instances of subprocess.Popen running ffmpeg (and only ffmpeg) run concurrently?

I have written a Python GUI for a media player (a shared library I created from ffplay in ffmpeg). It uses replay gain to adjust volume so that most music sounds about equally loud. I was not able to ...
dave's user avatar
  • 43
0 votes
2 answers
63 views

Notification after shut down on windows using python

I want to create a function that displays a message for the user when windows start again after a shutdown. It is used together with the shutdown command shutdown \s \hybrid Heres my attempt with the ...
Electron X's user avatar
1 vote
1 answer
95 views

How do I prevent a shutdown when my main window is a win32 dialog?

I'm working on a win32 C++ program that has a fairly simple interface that isn't particularly dynamic. When I was looking around, I found the option of graphically creating a dialog in the resource ...
Benjamin Krausse DB's user avatar
0 votes
1 answer
71 views

shutdown android os using flutter when press btn in android 8.1

I am developing a Flutter application and need to implement a feature that allows the app to be shutdown entire mobile. I am targeting Android 8.1, and I want to know the best approach for achieving ...
Infinity Bot's user avatar
1 vote
2 answers
740 views

How to run script with elevated privileges on Shutdown using gpedit.msc on Windows 11?

I can't run a bat file on Shutdown on Windows 11. runAs.bat: PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Start-Process PowerShell -ArgumentList '-NoProfile -ExecutionPolicy ...
Dan's user avatar
  • 2,519
0 votes
0 answers
53 views

.Net Kestrel - Take control over the shutdown process

I have a .Net service that functions as a bridge between RabbitMQ and another service. Messages are received and forwarded; Replies are received and delivered to RabbitMQ. Internally I have some ...
JesperGJensen's user avatar
0 votes
4 answers
78 views

How to write to worksheet during add-in unload (shutdown)

I have an Excel VSTO add-in written in vb.net. I want to write a message to the active workbook and active sheet when the user unloads the add-in. I get a COMException HRESULT: 0x800AC472 when I try ...
NeilK's user avatar
  • 19
-1 votes
1 answer
60 views

Why does Virtuoso automatically stop running for a period of time after starting in CentOS

In the bin directory of Virtuoso, use the command nohup ./virtuoso-t -fd +configfile /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.ini & to start Virtuoso. After a period of time, ...
cooldream2009's user avatar
0 votes
0 answers
236 views

Docker Container Running Flink SQL Client Shuts Down Immediately Despite Interactive Setup

I'm trying to run a Flink SQL client inside a Docker container using a custom Dockerfile and entrypoint script, but the container shuts down immediately despite being set up to run the SQL client ...
MrMinty's user avatar
  • 83
-1 votes
2 answers
83 views

MySQL Server Shutting Down Unexpectedly on XAMPP

I'm encountering an issue where my MySQL server on XAMPP shuts down unexpectedly. The error message in the XAMPP control panel states Error: MySQL shutdown unexpectedly. This may be due to a blocked ...
Syed Abdul Wasay's user avatar
0 votes
0 answers
219 views

How to Detect PC State (Unlocked, Sleep, Hibernate, Shutdown) in PowerShell Script?

I'm working on a PowerShell script where I need to ensure that it only proceeds if the PC (OS- Windows) is in an active state, meaning it's not locked, in sleep mode, hibernating, or shutting down. ...
Rabins Rai's user avatar
0 votes
1 answer
30 views

Shutting down NameNode datanode resource manger etc immediately on running hadoop

C:\hadoop-3.3.6\sbin>.\start-dfs.cmd after running above command command prompt opens for datanode and namenode but it immediately shutdown what should i do java.io.IOException: All specified ...
Shraddha Dhakad's user avatar

15 30 50 per page
1
2 3 4 5
85