RH7 ksh wait not workingBumblebee (Optimus) Service Won't Start w/ 3.4 Kernel on Fedora 16Capture screen...
Does hiding behind 5-ft-wide cover give full cover?
Applying a function to a nested list
Why debootstrap can only run as root?
Is it always OK to ask for a copy of the lecturer's slides?
Was the ancestor of SCSI, the SASI protocol, nothing more than a draft?
Can a cyclic Amine form an Amide?
LT Spice Voltage Output
If Melisandre foresaw another character closing blue eyes, why did she follow Stannis?
What are the spoon bit of a spoon and fork bit of a fork called?
Would "lab meat" be able to feed a much larger global population
Short story about people living in a different time streams
Has any spacecraft ever had the ability to directly communicate with civilian air traffic control?
If Earth is tilted, why is Polaris always above the same spot?
Can commander tax be proliferated?
Unexpected email from Yorkshire Bank
How can I close a gap between my fence and my neighbor's that's on his side of the property line?
Save terminal output to a txt file
Attending a conference where my ex-supervisor and his collaborator are present, should I attend?
Is lying to get "gardening leave" fraud?
I’ve officially counted to infinity!
Pressure to defend the relevance of one's area of mathematics
How does NAND gate work? (Very basic question)
Password expiration with Password manager
Disabling Resource Governor in SQL Server
RH7 ksh wait not working
Bumblebee (Optimus) Service Won't Start w/ 3.4 Kernel on Fedora 16Capture screen content for error parsingKsh Script to ftp multiple directories simultaneouslyBash vs ksh pipesInstalling ksh as the standard shell in Redhat: Foolhardy?How do you track memory usage in a ksh93 scriptKSH history weirdnessKSH key mapping in emacs mode: ctrl + arrow keywhy service isn't follow the script that defined in ExecStartLinux Redhat 7 : How to set a shell option globally / system-wide?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I have some ksh shell scripts that I ported from RedHat 4 to RH7.
I have bar.ksh
:
#!/bin/ksh
....
# here I start another script
foo.ksh &
wait
#seems to abruptly end
...
EOF
Now, these scripts worked on RH4, but fail to wait on RH7.
ksh --version
says
version sh (AT&T Research) 93u+ 2012-08-01
linux rhel ksh
New contributor
add a comment |
I have some ksh shell scripts that I ported from RedHat 4 to RH7.
I have bar.ksh
:
#!/bin/ksh
....
# here I start another script
foo.ksh &
wait
#seems to abruptly end
...
EOF
Now, these scripts worked on RH4, but fail to wait on RH7.
ksh --version
says
version sh (AT&T Research) 93u+ 2012-08-01
linux rhel ksh
New contributor
Can you describe more clearly what happens? Doesfoo.ksh
start running? Does it get terminated before it finishes doing what it’s supposed to do? Or does it continue to run asynchronously afterbar.ksh
has exited? … … … … … … … … … … … Please do not respond in comments; edit your question to make it clearer and more complete.
– Scott
15 mins ago
add a comment |
I have some ksh shell scripts that I ported from RedHat 4 to RH7.
I have bar.ksh
:
#!/bin/ksh
....
# here I start another script
foo.ksh &
wait
#seems to abruptly end
...
EOF
Now, these scripts worked on RH4, but fail to wait on RH7.
ksh --version
says
version sh (AT&T Research) 93u+ 2012-08-01
linux rhel ksh
New contributor
I have some ksh shell scripts that I ported from RedHat 4 to RH7.
I have bar.ksh
:
#!/bin/ksh
....
# here I start another script
foo.ksh &
wait
#seems to abruptly end
...
EOF
Now, these scripts worked on RH4, but fail to wait on RH7.
ksh --version
says
version sh (AT&T Research) 93u+ 2012-08-01
linux rhel ksh
linux rhel ksh
New contributor
New contributor
edited 15 mins ago
Scott
7,10752952
7,10752952
New contributor
asked 38 mins ago
Walter DeodiausWalter Deodiaus
11
11
New contributor
New contributor
Can you describe more clearly what happens? Doesfoo.ksh
start running? Does it get terminated before it finishes doing what it’s supposed to do? Or does it continue to run asynchronously afterbar.ksh
has exited? … … … … … … … … … … … Please do not respond in comments; edit your question to make it clearer and more complete.
– Scott
15 mins ago
add a comment |
Can you describe more clearly what happens? Doesfoo.ksh
start running? Does it get terminated before it finishes doing what it’s supposed to do? Or does it continue to run asynchronously afterbar.ksh
has exited? … … … … … … … … … … … Please do not respond in comments; edit your question to make it clearer and more complete.
– Scott
15 mins ago
Can you describe more clearly what happens? Does
foo.ksh
start running? Does it get terminated before it finishes doing what it’s supposed to do? Or does it continue to run asynchronously after bar.ksh
has exited? … … … … … … … … … … … Please do not respond in comments; edit your question to make it clearer and more complete.– Scott
15 mins ago
Can you describe more clearly what happens? Does
foo.ksh
start running? Does it get terminated before it finishes doing what it’s supposed to do? Or does it continue to run asynchronously after bar.ksh
has exited? … … … … … … … … … … … Please do not respond in comments; edit your question to make it clearer and more complete.– Scott
15 mins ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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
});
}
});
Walter Deodiaus is a new contributor. Be nice, and check out our Code of Conduct.
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%2funix.stackexchange.com%2fquestions%2f516280%2frh7-ksh-wait-not-working%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Walter Deodiaus is a new contributor. Be nice, and check out our Code of Conduct.
Walter Deodiaus is a new contributor. Be nice, and check out our Code of Conduct.
Walter Deodiaus is a new contributor. Be nice, and check out our Code of Conduct.
Walter Deodiaus is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f516280%2frh7-ksh-wait-not-working%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
Can you describe more clearly what happens? Does
foo.ksh
start running? Does it get terminated before it finishes doing what it’s supposed to do? Or does it continue to run asynchronously afterbar.ksh
has exited? … … … … … … … … … … … Please do not respond in comments; edit your question to make it clearer and more complete.– Scott
15 mins ago