How to pause execution in Powershell (Windows) similar to Unix CTRL-z and 'fg'?
Is there an equivalent command in Powershell (windows terminal) for pausing execution similar to Unix CTRL+Z?
If yes, what is the equivalent command to resume it, similar to the fg
command?
powershell
add a comment |
Is there an equivalent command in Powershell (windows terminal) for pausing execution similar to Unix CTRL+Z?
If yes, what is the equivalent command to resume it, similar to the fg
command?
powershell
mcpmag.com/articles/2018/04/18/… - the PS-Specific Job management. Also, a shell likebash
(mingw/cygwin) will operate on the process level; in this case PowerShell would be the process :}
– user2864740
Nov 16 '18 at 0:30
superuser.com/questions/465238/… - appears the answer is "There is no direct equivalent".
– user2864740
Nov 16 '18 at 0:37
add a comment |
Is there an equivalent command in Powershell (windows terminal) for pausing execution similar to Unix CTRL+Z?
If yes, what is the equivalent command to resume it, similar to the fg
command?
powershell
Is there an equivalent command in Powershell (windows terminal) for pausing execution similar to Unix CTRL+Z?
If yes, what is the equivalent command to resume it, similar to the fg
command?
powershell
powershell
edited Nov 16 '18 at 0:32
user2864740
44.2k671150
44.2k671150
asked Nov 16 '18 at 0:25
ibaralfibaralf
9,21833245
9,21833245
mcpmag.com/articles/2018/04/18/… - the PS-Specific Job management. Also, a shell likebash
(mingw/cygwin) will operate on the process level; in this case PowerShell would be the process :}
– user2864740
Nov 16 '18 at 0:30
superuser.com/questions/465238/… - appears the answer is "There is no direct equivalent".
– user2864740
Nov 16 '18 at 0:37
add a comment |
mcpmag.com/articles/2018/04/18/… - the PS-Specific Job management. Also, a shell likebash
(mingw/cygwin) will operate on the process level; in this case PowerShell would be the process :}
– user2864740
Nov 16 '18 at 0:30
superuser.com/questions/465238/… - appears the answer is "There is no direct equivalent".
– user2864740
Nov 16 '18 at 0:37
mcpmag.com/articles/2018/04/18/… - the PS-Specific Job management. Also, a shell like
bash
(mingw/cygwin) will operate on the process level; in this case PowerShell would be the process :}– user2864740
Nov 16 '18 at 0:30
mcpmag.com/articles/2018/04/18/… - the PS-Specific Job management. Also, a shell like
bash
(mingw/cygwin) will operate on the process level; in this case PowerShell would be the process :}– user2864740
Nov 16 '18 at 0:30
superuser.com/questions/465238/… - appears the answer is "There is no direct equivalent".
– user2864740
Nov 16 '18 at 0:37
superuser.com/questions/465238/… - appears the answer is "There is no direct equivalent".
– user2864740
Nov 16 '18 at 0:37
add a comment |
1 Answer
1
active
oldest
votes
You can with Pause Break, and resume with ENTER
The question says "pause", but Ctrl+Z/fg actually relates to background jobs: a method of running and switching between multiple programs from a single console.
– user2864740
Nov 16 '18 at 0:33
Sorry, what keys do I hit for "Pause Break"?
– ibaralf
Nov 16 '18 at 1:04
i.ytimg.com/vi/aEJxwCob2mc/maxresdefault.jpg
– Nas
Nov 16 '18 at 1:09
Nice pic, I'm using a mac and doing remote desktop. I'll try to google equivalent key on mac.
– ibaralf
Nov 16 '18 at 1:12
If the remote desktop is a windows machine, you can launch an on-screen keyboard with c:WindowsSystem32osk.exe
– Nas
Nov 16 '18 at 1:21
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53329728%2fhow-to-pause-execution-in-powershell-windows-similar-to-unix-ctrl-z-and-fg%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can with Pause Break, and resume with ENTER
The question says "pause", but Ctrl+Z/fg actually relates to background jobs: a method of running and switching between multiple programs from a single console.
– user2864740
Nov 16 '18 at 0:33
Sorry, what keys do I hit for "Pause Break"?
– ibaralf
Nov 16 '18 at 1:04
i.ytimg.com/vi/aEJxwCob2mc/maxresdefault.jpg
– Nas
Nov 16 '18 at 1:09
Nice pic, I'm using a mac and doing remote desktop. I'll try to google equivalent key on mac.
– ibaralf
Nov 16 '18 at 1:12
If the remote desktop is a windows machine, you can launch an on-screen keyboard with c:WindowsSystem32osk.exe
– Nas
Nov 16 '18 at 1:21
add a comment |
You can with Pause Break, and resume with ENTER
The question says "pause", but Ctrl+Z/fg actually relates to background jobs: a method of running and switching between multiple programs from a single console.
– user2864740
Nov 16 '18 at 0:33
Sorry, what keys do I hit for "Pause Break"?
– ibaralf
Nov 16 '18 at 1:04
i.ytimg.com/vi/aEJxwCob2mc/maxresdefault.jpg
– Nas
Nov 16 '18 at 1:09
Nice pic, I'm using a mac and doing remote desktop. I'll try to google equivalent key on mac.
– ibaralf
Nov 16 '18 at 1:12
If the remote desktop is a windows machine, you can launch an on-screen keyboard with c:WindowsSystem32osk.exe
– Nas
Nov 16 '18 at 1:21
add a comment |
You can with Pause Break, and resume with ENTER
You can with Pause Break, and resume with ENTER
answered Nov 16 '18 at 0:32
NasNas
1,09517
1,09517
The question says "pause", but Ctrl+Z/fg actually relates to background jobs: a method of running and switching between multiple programs from a single console.
– user2864740
Nov 16 '18 at 0:33
Sorry, what keys do I hit for "Pause Break"?
– ibaralf
Nov 16 '18 at 1:04
i.ytimg.com/vi/aEJxwCob2mc/maxresdefault.jpg
– Nas
Nov 16 '18 at 1:09
Nice pic, I'm using a mac and doing remote desktop. I'll try to google equivalent key on mac.
– ibaralf
Nov 16 '18 at 1:12
If the remote desktop is a windows machine, you can launch an on-screen keyboard with c:WindowsSystem32osk.exe
– Nas
Nov 16 '18 at 1:21
add a comment |
The question says "pause", but Ctrl+Z/fg actually relates to background jobs: a method of running and switching between multiple programs from a single console.
– user2864740
Nov 16 '18 at 0:33
Sorry, what keys do I hit for "Pause Break"?
– ibaralf
Nov 16 '18 at 1:04
i.ytimg.com/vi/aEJxwCob2mc/maxresdefault.jpg
– Nas
Nov 16 '18 at 1:09
Nice pic, I'm using a mac and doing remote desktop. I'll try to google equivalent key on mac.
– ibaralf
Nov 16 '18 at 1:12
If the remote desktop is a windows machine, you can launch an on-screen keyboard with c:WindowsSystem32osk.exe
– Nas
Nov 16 '18 at 1:21
The question says "pause", but Ctrl+Z/fg actually relates to background jobs: a method of running and switching between multiple programs from a single console.
– user2864740
Nov 16 '18 at 0:33
The question says "pause", but Ctrl+Z/fg actually relates to background jobs: a method of running and switching between multiple programs from a single console.
– user2864740
Nov 16 '18 at 0:33
Sorry, what keys do I hit for "Pause Break"?
– ibaralf
Nov 16 '18 at 1:04
Sorry, what keys do I hit for "Pause Break"?
– ibaralf
Nov 16 '18 at 1:04
i.ytimg.com/vi/aEJxwCob2mc/maxresdefault.jpg
– Nas
Nov 16 '18 at 1:09
i.ytimg.com/vi/aEJxwCob2mc/maxresdefault.jpg
– Nas
Nov 16 '18 at 1:09
Nice pic, I'm using a mac and doing remote desktop. I'll try to google equivalent key on mac.
– ibaralf
Nov 16 '18 at 1:12
Nice pic, I'm using a mac and doing remote desktop. I'll try to google equivalent key on mac.
– ibaralf
Nov 16 '18 at 1:12
If the remote desktop is a windows machine, you can launch an on-screen keyboard with c:WindowsSystem32osk.exe
– Nas
Nov 16 '18 at 1:21
If the remote desktop is a windows machine, you can launch an on-screen keyboard with c:WindowsSystem32osk.exe
– Nas
Nov 16 '18 at 1:21
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53329728%2fhow-to-pause-execution-in-powershell-windows-similar-to-unix-ctrl-z-and-fg%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
mcpmag.com/articles/2018/04/18/… - the PS-Specific Job management. Also, a shell like
bash
(mingw/cygwin) will operate on the process level; in this case PowerShell would be the process :}– user2864740
Nov 16 '18 at 0:30
superuser.com/questions/465238/… - appears the answer is "There is no direct equivalent".
– user2864740
Nov 16 '18 at 0:37