Skip to content
⌘ NSIS Forum Archive

how can suspend notepad process?

8 posts

r2du-soft#

how can suspend notepad process?

in windows wit resource monitor can 'suspend process' and 'resume process' but for suspend and resume process,this is long process is done with the mouse and keyboard...
now how can suspend notepad process and resume that with nsis command?
Anders#
Windows probably uses the undocumented NtSuspendProcess function. Why do you think you need to suspend a process?
r2du-soft#
Originally Posted by Anders View Post
Windows probably uses the undocumented NtSuspendProcess function. Why do you think you need to suspend a process?
Sometimes before i run my installer,i need to Suspend a process and after finish my installer i must resume that process...

Originally Posted by meoit View Post
Terminate it and Exec again
no i cant terminate process,that process must running...
r2du-soft#
Find a way for Suspend Process

hi i find a way to suspend process and resume that...
see attach file,i do it with run a external exe file...
no way for do it with nsis code without any external exe file?

Suspend.AND.Resume.Process.zip
stass#
The topic has been raised ... Solutions - no ...
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.

Win32 process suspend/resume tool
r2du-soft#
Originally Posted by stass View Post
The topic has been raised ... Solutions - no ...
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.

Win32 process suspend/resume tool
http://www.codeproject.com/Articles/...nd-resume-tool
Thanks stass,very good...
this with this way can suspend process by pid number,(this way is a lot bad because if in windows 3notepad runing and run code by pid when one of notepad process suspended,in this way must use from loop)
and with Suspend.AND.Resume.Process.zip can suspend all notepad runed process,is alot good bud find a way without call another exe file is better...
Anders#
Originally Posted by r2du-soft View Post
Sometimes before i run my installer,i need to Suspend a process and after finish my installer i must resume that process...
I asked you why you need to suspend a process. A suspended process will keep all its locks and open files so I don't understand why you need to suspend anything.