10-08-2017
Yes, when it is timeout, it will move on to the next item in the loop.
10 More Discussions You Might Find Interesting
1. Solaris
I have a script that runs in verbose mode. At the end of the script it displays the final "exit" but then it hangs. What's going on?:( (5 Replies)
Discussion started by: davels
5 Replies
2. Linux
We have a unix script scheduled to execute once in a day, some times it hangs on the server and never performs its operations, we need to manually kill the process and re-start that script, is there any way to have notification when the script hangs on the server.
Thanks & Regards,
Murthy. (3 Replies)
Discussion started by: Ramana Murthy
3 Replies
3. Shell Programming and Scripting
I have a script that calls several other scripts in a specified order:
# Loop over actions in specified order (STOP_ORDER or START_ORDER) and build and evaluate commands
for command in $(eval print '$'${action}_ORDER)
do
printf "`date`\tExecuting ${action}_${command} = `eval print... (1 Reply)
Discussion started by: rein
1 Replies
4. Shell Programming and Scripting
Hi all,
I have made a script which logins to remote servers and fetches some data from it.
Is is working perfectly when all servers are reachable
BUT
my problem is -- if in case a server is down (or not reachable), the script hangs.
Is there some way, that the script just continues to ssh... (6 Replies)
Discussion started by: vikas027
6 Replies
5. Shell Programming and Scripting
Hi
I need to run a shell script from a TCL script,the shell script in trun will run a python script
1.Tcl script
set filename "./GopiRun.sh"
2.GopiRun.sh
python ./psi.py $MYSB/test_scripts/delivery/gpy1.py
3.I have my gpy1.py script.
Here the problem i am facing is on running... (0 Replies)
Discussion started by: nathgopi214
0 Replies
6. UNIX for Dummies Questions & Answers
I am trying to figure out a way to proceed through a menu-based program in UNIX with just one command to execute several steps. Is this possible?
From the command prompt I would normally type the name of the program, 'disk_analysis' to start the program and bring up its menu.
I would then... (4 Replies)
Discussion started by: nichola$
4 Replies
7. Solaris
I am running solaris 8 on a sparcs box. The system is connected to a lightwave console server. I have a script that hangs when sending output to '/dev/console'. Any ideas?
-V (2 Replies)
Discussion started by: vada010
2 Replies
8. Shell Programming and Scripting
Hi,
I have script which is based on TCL and expect. It is written to test my code. It usually runs fine for a while and hangs after sometime.
Code snippet
set l_temp_timeout $timeout
OUTPUT_LOG2 2 >>>$expect_out(buffer)<<<
OUTPUT_LOG2 2... (2 Replies)
Discussion started by: naveenpn
2 Replies
9. Shell Programming and Scripting
script:
while read inputline; do
if ; then
if ; then
break
fi
fi
done
Looks like the script hangs when stdin is empty or contains space. Any ideas on how to circumvent this? is it possible to use getline to process stdin content? (4 Replies)
Discussion started by: ux4me
4 Replies
10. Shell Programming and Scripting
When I run script listed below it causes my Linux to hang. When it freezes I can do totally nothing, move cursor, switch to another terminal or whatever. Linux is just not responding and the only way out I know is a hard reset of PC.
#!/bin/bash
if ; then
echo "one parameter is needed: IP... (3 Replies)
Discussion started by: mass85
3 Replies
LEARN ABOUT REDHAT
qglayoutiterator
QGLayoutIterator(3qt) QGLayoutIterator(3qt)
NAME
QGLayoutIterator - Abstract base class of internal layout iterators
SYNOPSIS
#include <qlayout.h>
Public Members
virtual ~QGLayoutIterator ()
virtual QLayoutItem * next () = 0
virtual QLayoutItem * current () = 0
virtual QLayoutItem * takeCurrent () = 0
DESCRIPTION
The QGLayoutIterator class is an abstract base class of internal layout iterators.
(This class is not OpenGL related, it just happens to start with the letters QGL...)
Subclass this class to create a custom layout. The functions that must be implemented are next(), current(), and takeCurrent().
The QGLayoutIterator implements the functionality of QLayoutIterator. Each subclass of QLayout needs a QGLayoutIterator subclass.
See also Widget Appearance and Style and Layout Management.
MEMBER FUNCTION DOCUMENTATION
QGLayoutIterator::~QGLayoutIterator () [virtual]
Destroys the iterator
QLayoutItem * QGLayoutIterator::current () [pure virtual]
Implemented in subclasses to return the current item, or 0 if there is no current item.
Examples:
QLayoutItem * QGLayoutIterator::next () [pure virtual]
Implemented in subclasses to move the iterator to the next item and return that item, or 0 if there is no next item.
Examples:
QLayoutItem * QGLayoutIterator::takeCurrent () [pure virtual]
Implemented in subclasses. The function must remove the current item from the layout without deleting it, move the iterator to the next
item and return the removed item, or 0 if no item was removed.
Examples:
SEE ALSO
http://doc.trolltech.com/qglayoutiterator.html http://www.trolltech.com/faq/tech.html
COPYRIGHT
Copyright 1992-2001 Trolltech AS, http://www.trolltech.com. See the license file included in the distribution for a complete license
statement.
AUTHOR
Generated automatically from the source code.
BUGS
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you.
Thank you.
The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a
web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially
supported by Trolltech.
If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page
(qglayoutiterator.3qt) and the Qt version (3.1.1).
Trolltech AS 9 December 2002 QGLayoutIterator(3qt)