Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
20th August 2006, 19:47 | #2 | Link | |
retired developer
Join Date: Oct 2002
Location: Canada
Posts: 8,978
|
Quote:
__________________
Detritus Software |
|
20th August 2006, 20:02 | #4 | Link |
retired developer
Join Date: Oct 2002
Location: Canada
Posts: 8,978
|
As far as I know, no. You cannot pause a CLI.
__________________
Detritus Software |
20th August 2006, 20:18 | #5 | Link |
clueless n00b
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
I presume you're using x264 (I really cannot imagine why somebody wouldn't tell that to begin with.. how is anybody but you to know what you are doing if you don't tell?), so in that case, x264.exe will keep on going for a few hundred frames (and depending on your settings, computer, etc. that can take a long while) before it finally rests.
Although, since pause doesn't mean you can close megui, what's wrong with low priority? That'll yield every CPU cycle other apps need but it'll still keep going and once no other software uses your CPU cycles it'll go on full speed again without you having to do anything about it.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
20th August 2006, 20:24 | #6 | Link |
retired developer
Join Date: Oct 2002
Location: Canada
Posts: 8,978
|
@Doom9
How does your "pause" exactly work?
__________________
Detritus Software |
20th August 2006, 20:35 | #7 | Link |
clueless n00b
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
stop reading from the stdout/stderr pipes.. that pauses every software that prints progress to stdout/stderr I know of (in case of x264, it takes excessively long but it still works).
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
20th August 2006, 20:52 | #8 | Link |
retired developer
Join Date: Oct 2002
Location: Canada
Posts: 8,978
|
hum.... don't think I can do that with TDosCommand (Delphi)...
thanks for the hint though!
__________________
Detritus Software |
20th August 2006, 23:56 | #9 | Link | ||
Guest
Posts: n/a
|
Quote:
Quote:
Just out of curiosity: Long time ago I was a Silicon Graphics user and IRIX had a command to pause any process (Ctrl-z, if I remember well) and then other commands (fg and bg) to bring it back to life. Aren't there any similar commands in Windows? Again, this is just curiosity. Thanks for your answers. |
||
21st August 2006, 00:31 | #10 | Link | |
retired developer
Join Date: Oct 2002
Location: Canada
Posts: 8,978
|
Quote:
__________________
Detritus Software |
|
21st August 2006, 00:56 | #11 | Link |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
|
Sirber:
http://www.codecomments.com/message232528.html DOS and Win32 cmd shell have pause too; what do you think the pause key is for? But a lot of programs ignore it now, maybe it's not part of current stdc libs. But no way to break into a command and run the shell before resuming. Neatness. Last edited by foxyshadis; 21st August 2006 at 00:58. |
21st August 2006, 01:02 | #12 | Link |
retired developer
Join Date: Oct 2002
Location: Canada
Posts: 8,978
|
Could be cool if someone could hack this in TDosCommand
__________________
Detritus Software |
12th September 2006, 03:55 | #13 | Link |
Registered User
Join Date: Dec 2004
Location: Seattle
Posts: 60
|
You can suspend a process by calling SuspendThread on all its threads.
There is a command line tool. http://www.sysinternals.com/Utilities/PsSuspend.html |
|
|