09-17-2006
Sorry for the Typo...but i hav commented the open()
BTW it wasnt giving any system error...dunno kno how
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all,
I'm writing a script in c-shell that, among other things, queries information from another system. Is there a graceful way I can continue execution of the script if that query command(rup) causes the script to hang?
Thanks much! (5 Replies)
Discussion started by: mkinney
5 Replies
2. Programming
Read the title: how do i do it? (4 Replies)
Discussion started by: Gekko
4 Replies
3. Shell Programming and Scripting
I am entirely new to shell scripting and would like to create a script to execute a java program called Main. I've already compiled it and placed the .java and .class files at /root/javaTest. Next I made a shell script that simply contained: java /root/javaTest/Main . I made the script... (2 Replies)
Discussion started by: hypnotic_meat
2 Replies
4. Programming
How can I get around this? when my program reaches the following popen job it halts the program until the ping/netstat/ipconfig/traceroute is completed then resume to the rest of the program...
FILE *in;
extern FILE *popen();
char buff;
char newline;
char nstat;
char nping;
... (5 Replies)
Discussion started by: Jess83
5 Replies
5. Shell Programming and Scripting
Hello,
Please help me out to execute this perl program:
#!/usr/bin/perl -w
use strict;
use Win32::OLE qw(in with);
use Win32::OLE::Const 'Microsoft Excel';
$Win32::OLE::Warn = 3; # die on errors...
# get already active Excel application or open new
my... (6 Replies)
Discussion started by: suvenduperl
6 Replies
6. UNIX for Dummies Questions & Answers
What system calls or commands do I need to use in order to execute a different program from an already running process? (1 Reply)
Discussion started by: justOne21
1 Replies
7. Shell Programming and Scripting
I have a ksh script (script1) that calls another ksh script (script2). If script2.ksh hangs or takes too long to execute I want script1.ksh to kill the call to script2.ksh and instead just display "Script2 can't run right now". Could someone help me with coding this? (1 Reply)
Discussion started by: mrskittles99
1 Replies
8. Programming
Hello Friends,
I have written a code for the unisex bathroom which makes a policy that when a woman is in the bathroom only other women may enter, but not men, and vice versa. This program consists of four functions which a user defines but these functions are not properly working while... (4 Replies)
Discussion started by: Ravi Tej
4 Replies
9. Programming
I have two programs, DriverScale.c and scale9.c. DriverScale.c calls scale 9.c which sends a W and a carraige return to the scale which SHOULD return the weight to DriverScale. However scale 9 hangs for at least 10 min, and then finally returns the weight.
Compilation:
... (8 Replies)
Discussion started by: Meow613
8 Replies
10. Programming
I had been looking at page 75 of this online book:
http://richard.esplins.org/static/downloads/linux_book.pdf
I've used the system function in C to call bash commands before, but wanted to learn this way too. The solution in the book worked perfectly. However, I tried changing the simple "ls -l... (3 Replies)
Discussion started by: Azrael
3 Replies
LEARN ABOUT DEBIAN
pvmflvgrp
LVGROUP(3PVM) PVM Version 3.4 LVGROUP(3PVM)
NAME
pvm_lvgroup - Unenrolls the calling process from a named group.
SYNOPSIS
C int info = pvm_lvgroup( char *group )
Fortran call pvmflvgroup( group, info )
PARAMETERS
group Character string group name of an existing group.
info Integer status code returned by the routine. Values less than zero indicate an error.
DESCRIPTION
The routine pvm_lvgroup unenrolls the calling process from the group named group. If there is an error info will be negative.
If a process leaves a group by calling either pvm_lvgroup or pvm_exit, and later rejoins the same group, the process may be assigned a new
instance number. Old instance numbers are reassigned to processes calling pvm_joingroup.
EXAMPLES
C:
info = pvm_lvgroup( "worker" );
Fortran:
CALL PVMFLVGROUP( 'group2', INFO )
ERRORS
These error conditions can be returned by pvm_lvgroup
PvmSysErr
pvmd not responding.
PvmBadParam
giving a NULL group name.
PvmNoGroup
giving a non-existent group name.
PvmNotInGroup
asking to leave a group you are not a member of.
SEE ALSO
pvm_joingroup(3PVM)
30 August, 1993 LVGROUP(3PVM)