Re: CumulusMX Shutdown
Posted: Thu 06 Oct 2016 8:58 am
Sorry, are you trying to make a point, because it isn't working.duke wrote:Not at all, RTFM!
Support forum for Cumulus weather station software
https://cumulus.hosiene.co.uk/
Sorry, are you trying to make a point, because it isn't working.duke wrote:Not at all, RTFM!
Incorrect. Ctrl-C fires a SIGINT (the interrupt signal) in both Windows and Linux. MX will probably listen for this and perform an orderly shutdown when it is received. Close in Windows fires a (non-POSIX) SIGBREAK (the break signal). This is not the same as SIGINT. If MX listens for SIGBREAK in the same way as SIGINT it is possibly handled in the same way - but Steve would have to confirm this as he wrote the codeGrimers wrote:Ctrl-C is just the Linux equivalent of close in Windows
Code: Select all
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
WinActivate, C:\CumulusMX\CumulusMX.exe
Send ^c
Return