Sponsored Content
Top Forums Shell Programming and Scripting How to wait for the subprocess to finish in tcl Post 302178772 by sysgate on Wednesday 26th of March 2008 09:40:39 AM
Old 03-26-2008
See the man page for wait
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How can I wait for PID to finish in another shell

Have a need to schedule programs that can run after other programs are completed. Here's the catch: 1) The list of programs will not always be the same (kind of a plug-n-play deal) 2) The invoking shell may not be the same as the shell of the program being waited on In other words, I need... (2 Replies)
Discussion started by: superdelic
2 Replies

2. Shell Programming and Scripting

Need to execute 2 scripts, wait, execute 2 more wait, till end of file

:cool: I need to execute a shell script to do the following: cat a file run two back ground processes using the first two values from the file wait till those background processes finish run two more background processes using the next two values from the file wait till those background... (1 Reply)
Discussion started by: halo98
1 Replies

3. Shell Programming and Scripting

wait command - cat it wait for not-chile process?

Did not use 'wait' yet. How I understand by now the wait works only for child processes, started background. Is there any other way to watch completion of any, not related process (at least, a process, owned by the same user?) I need to start a background process, witch will be waiting... (2 Replies)
Discussion started by: alex_5161
2 Replies

4. AIX

Subprocess errors

Hi Guys, Just a question about subprocesses.. Lately one of our servers has started to throw out the following error: SYSTEM ERROR: Too many subprocesses, cannot fork. Errno=12 We've already increased the threshold twice. Its now up to 8000 and the swap space has also been increased. We... (6 Replies)
Discussion started by: Jazmania
6 Replies

5. Shell Programming and Scripting

Python subprocess module

I need to run this command using python subprocess module (notice I'm using only variables): cmd = TESTPATH + ' -s ' + serviceName + ' -r ' + rdir + \ ' -m ' + masterAcct + ' -p ' + persona + ' -P ' + passwd (3 Replies)
Discussion started by: erick_tuk
3 Replies

6. Shell Programming and Scripting

How to WAIT for jobs in each group to finish?

I have the shell script to call a Perl routine and pass the Informatica WorkFlow name to it. Jobs in each group executes in background do not seem to wait at all. How do I make it to WAIT for the prior group to complete before execute the next group of jobs? Sample of the jobs flow: { ... (6 Replies)
Discussion started by: lv99
6 Replies

7. Shell Programming and Scripting

How to wait for tar to finish before sending the archive through ftp?

Hey all, I want to automate tarring a directory then using ftp to transfer the files over. I was able to put the commands together but what I'm noticing is that only the very first file is being tarred and then transferred. tar cvpf new.backup sourceAbove is the command I'm using which works... (4 Replies)
Discussion started by: Keepcase
4 Replies

8. Shell Programming and Scripting

calling a shell script in background and wait using "wait" in while loop

Hi, I am facing a strange issue, when i call a script from my while loop in background it doesnt go in background, despite the wait i put below the whil loop it goes forward even before the process put in background is completed. cat abc.txt | while read -u4 line do #if line contains #... (2 Replies)
Discussion started by: mihirvora16
2 Replies

9. Shell Programming and Scripting

Python subprocess

Hi guys, I'm learning python and perl and i was trying to run from python a perl script using the subprocess module. I have an issue that i don't understand regarding this. I run this code: #!/usr/bin/python import subprocess p2 = subprocess.Popen(,stdout=subprocess.PIPE) output2 =... (2 Replies)
Discussion started by: capitanui
2 Replies

10. UNIX for Dummies Questions & Answers

How to wait for a grand child to finish?

Hello all, I have a very basic question. I have a requirement where in, I have a main process which forks a child process, which execs and runs a c executable corresponding to a daemon. In the c executable corresponding to a daemon, as everyone does, I fork another child process, and as part of... (7 Replies)
Discussion started by: sai2krishna
7 Replies
DACS_MEX(8)						     DACS Web Services Manual						       DACS_MEX(8)

NAME
dacs_mex - WS-MetadataExchange responder for Information Cards SYNOPSIS
dacs_mex [dacsoptions[1]] DESCRIPTION
This program is part of the DACS suite. The dacs_mex web service is the WS-MetadataExchange responder for DACS's managed Information Cards. Refer to dacs_infocard(8)[2] and dacs_managed_infocard(8)[3] for additional information. OPTIONS
Web Service Arguments dacs_mex understands the following CGI arguments: AUTHTYPE This argument identifies the authentication credential type required by the IP/STS. The following values are understood: o PASSWD The UsernamePasswordCredential authentication credential type is required. o CERT The X509V3Credential authentication credential type is required. o CARD The SelfIssuedCredential authentication credential type is required. DIAGNOSTICS
The program exits 0 if everything was fine, 1 if an error occurred. BUGS
As this is a relatively new and complicated feature, please test carefully. SEE ALSO
dacsinfocard(1)[4], dacs.conf(5)[5], dacs_authenticate(8)[6], dacs_sts(8)[7], Using InfoCards With DACS[8] AUTHOR
Distributed Systems Software (www.dss.ca[9]) COPYING
Copyright2003-2012 Distributed Systems Software. See the LICENSE[10] file that accompanies the distribution for licensing information. NOTES
1. dacsoptions http://dacs.dss.ca/man/dacs.1.html#dacsoptions 2. dacs_infocard(8) http://dacs.dss.ca/man/dacs_infocard.8.html 3. dacs_managed_infocard(8) http://dacs.dss.ca/man/dacs_managed_infocard.8.html 4. dacsinfocard(1) http://dacs.dss.ca/man/dacsinfocard.1.html 5. dacs.conf(5) http://dacs.dss.ca/man/dacs.conf.5.html 6. dacs_authenticate(8) http://dacs.dss.ca/man/dacs_authenticate.8.html 7. dacs_sts(8) http://dacs.dss.ca/man/dacs_sts.8.html 8. Using InfoCards With DACS http://dacs.dss.ca/man/using-infocards-with-dacs.html 9. www.dss.ca http://www.dss.ca 10. LICENSE http://dacs.dss.ca/man/../misc/LICENSE DACS 1.4.27b 10/22/2012 DACS_MEX(8)
All times are GMT -4. The time now is 03:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy