06-15-2015
Bring prompt from a different process
Hi,
while running a program one of the command is creating a sub-shell which requires user inputs. Is there a way to bring the input prompt to a parallel session or an alternate way to input the values? the outer program doesn't allow to accept the parameter value for the command run in the sub shell.
Thanks!!
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
The last thing I did was set REMOTE_LOGIN_PASSWORDFILE to EXCLUSIVE. Then rebooted server. Since that time I have not been able to login. During bootup it can't find root and generates alot of errors. Does anybody know of a default login and password that will allow me to log in and rebuild the... (2 Replies)
Discussion started by: mayewil
2 Replies
2. Shell Programming and Scripting
The script below performs an incremental database backup. When the increment backup is out of sequence, the process prompts the user:
"Incremental backup out of sequece. Do you wish to continue? Y or N". This script is set to run as a scheduled process in background mode. When the script... (2 Replies)
Discussion started by: bond007jlv
2 Replies
3. Solaris
Hi,
Due to some changes at our company, we lost the password for the root and sms-svc account on the primary system controller (E25K).
We connected a serial console to the system controller but we never managed to break the session to bring it to the OK prompt.
(tried: ~#, ~ b, ~, , a b,... (9 Replies)
Discussion started by: Solarius
9 Replies
4. Solaris
Hi All,
I have a iplanet server running on solaris , i'm not able to start it using the start
Its giving following error
root@bld00: /usr/iplanet/servers6.1sp8/https-MLL-8.3dev # ./start
Sun ONE Web Server 6.1SP8 B06/13/2007 23:15
info: CORE5076: Using from
info: WEB0100: Loading web... (2 Replies)
Discussion started by: renjithrnath
2 Replies
5. Red Hat
I have installed firefox and it previously worked before I installed the oracle software on my machine. Now when I click on the icon to bring up the browser it fails.
I tried to do it from the command line and this is what I get:
$ firefox
Cannot find mozilla runtime directory. Exiting
... (1 Reply)
Discussion started by: jxh461
1 Replies
6. HP-UX
Hi Guys,
Do I need to bring the DB down?
masd023x:: uname -r
B.11.11
Thanks!
Where can I find this type of information?
JC (3 Replies)
Discussion started by: 300zxmuro
3 Replies
7. UNIX for Dummies Questions & Answers
how to Change the % prompt to - prompt in unix
:wall:
---------- Post updated at 07:40 AM ---------- Previous update was at 07:38 AM ----------
How To display the last modification time of any file in unix
---------- Post updated at 07:40 AM ---------- Previous update was at 07:40 AM... (2 Replies)
Discussion started by: manjiri sawant
2 Replies
8. Solaris
Hi,
on sunfire v890 unable to move from rsc prompt to ok prompt, i have executed the command break. (9 Replies)
Discussion started by: manoj.solaris
9 Replies
9. Shell Programming and Scripting
Dear Forum,
I was wondering if anybody could help me to bring to files together.
I have two text files. In the text file each record occupies two lines. First the ID number and in the next line text.
$ cat text.txt
+12345678
text_A
+12345644
text_B
+12334241
text_C
+1234586... (5 Replies)
Discussion started by: GDC
5 Replies
shell(1F) FMLI Commands shell(1F)
NAME
shell - run a command using shell
SYNOPSIS
shell command [command] ...
DESCRIPTION
The shell function concatenate its arguments, separating each by a space, and passes this string to the shell ($SHELL if set, otherwise
/usr/bin/sh).
EXAMPLES
Example 1: A sample output of shell command.
Since the Form and Menu Language does not directly support background processing, the shell function can be used instead.
`shell "build prog > /dev/null &"`
If you want the user to continue to be able to interact with the application while the background job is running, the output of an exe-
cutable run by shell in the background must be redirected: to a file if you want to save the output, or to /dev/null if you don't want to
save it (or if there is no output), otherwise your application may appear to be hung until the background job finishes processing.
shell can also be used to execute a command that has the same name as an FMLI built-in function.
NOTES
The arguments to shell will be concatenate using spaces, which may or may not do what is expected. The variables set in local environments
will not be expanded by the shell because "local" means "local to the current process."
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
sh(1), attributes(5)
SunOS 5.10 5 Jul 1990 shell(1F)