Sponsored Content
Top Forums UNIX for Dummies Questions & Answers how to call two programs simultaneously Post 302223620 by Smiling Dragon on Monday 11th of August 2008 01:48:03 AM
Old 08-11-2008
`perl A.pl &`
`perl B.pl &`

This will switch both tasks to the background and run them concurrently. You will run into trouble if you need to interact with them though (eg if they ask for user input on the keyboard).
 

10 More Discussions You Might Find Interesting

1. Programming

call functions from diferents programs

hi i have ten program in C, and there are functions what are in all the programs. so, i want to make a directory to store all the functions what are in all the programs, and call them from the C programs. (sending variables and values) is that possible?¿? how ca i do that?¿? any idea,... (1 Reply)
Discussion started by: DebianJ
1 Replies

2. UNIX for Dummies Questions & Answers

cp & mkdir simultaneously

Can I create a new directory and copy files to it in a single command (not by linking 2 commands with a semi colon)? If so how? The only way I can see to do it is to first create the new directory using mkdir THEN copy files to it using the cp command. (5 Replies)
Discussion started by: enuenu
5 Replies

3. UNIX for Advanced & Expert Users

how to differentiate system call from library call

Hi, Ho do I differentiate system call from library call? for example if I am using chmod , how do I find out if it is a system call or library call? Thanks Muru (2 Replies)
Discussion started by: muru
2 Replies

4. Shell Programming and Scripting

Perl call C programs

Hi, I am a beginner in Perl programming. Now i need to call a C program from a perl program ...Can any one please help me and give any details how i can do this. Thanks and Regards (3 Replies)
Discussion started by: gjithin
3 Replies

5. Infrastructure Monitoring

diffrence between method call and function call in perl

Hello, I have a problem with package and name space. require "/Mehran/DSGateEngineLib/general.pl"; use strict; sub System_Status_Main_Service_Status_Intrusion_Prevention { my %idpstatus; my @result; &General_ReadHash("/var/dsg/idp/settings",\%idpstatus); #print... (4 Replies)
Discussion started by: Zaxon
4 Replies

6. Shell Programming and Scripting

To call many scripts from mother one simultaneously

Hi, I need to rin few other scripts from one main (mather) script. Working in ksh on LINUX. The only one condition - it should be run in parallel. I mean I have to be able to call 20 scripts from this mother script in parallel (start them in the same time). Does somebody know how to do it? ... (2 Replies)
Discussion started by: juliyp
2 Replies

7. UNIX for Dummies Questions & Answers

Are programs like sys_open( ) ,sys_read( ) et al examples of system level programs ?

Are the programs written on schedulers ,thread library , process management, memory management, et al called systems programs ? How are they different from the programs that implement functions like open() , printf() , scanf() , read() .. they have a prefix sys_open, sys_close, sys_read etc , right... (1 Reply)
Discussion started by: vishwamitra
1 Replies

8. Shell Programming and Scripting

How to call different programs based on requirement?

Hi Team, I have four shell scripts and i need to put it into one script and call based on requirement. For example: If server is Linux and version of my software version is 5 then it should call 1st scipt If server is Solaris and version of my software version is 6 then it should call... (16 Replies)
Discussion started by: darling
16 Replies

9. UNIX for Dummies Questions & Answers

Read same file simultaneously with two different programs

Hi all, I was just wondering if there are any consequences, or if its a problem to have a multiple scripts parsing (reading) the same file simultaneously. For example, I have file.txt with lots of information. cat script1.sh grep "awesome" file1.txt > awesome.txt cat script2.sh grep -v... (4 Replies)
Discussion started by: torchij
4 Replies

10. UNIX for Dummies Questions & Answers

Difference between inbuilt suid programs and user defined root suid programs under bash shell?

Hey guys, Suppose i run passwd via bash shell. It is a suid program, which temporarily runs as root(owner) and modifies the user entries. However, when i write a C file and give 4755 permission and root ownership to the 'a.out' file , it doesn't run as root in bash shell. I verified this by... (2 Replies)
Discussion started by: syncmaster
2 Replies
XMLRPCSH(1p)						User Contributed Perl Documentation					      XMLRPCSH(1p)

NAME
XMLRPCsh - Interactive shell for XMLRPC calls SYNOPSIS
perl XMLRPCsh http://betty.userland.com/RPC2 > examples.getStateName(2) > examples.getStateNames(1,2,3,7) > examples.getStateList([1,9]) > examples.getStateStruct({a=>1, b=>24}) > Ctrl-D (Ctrl-Z on Windows) or # all parameters after uri will be executed as methods perl XMLRPCsh http://betty.userland.com/RPC2 examples.getStateName(2) > Ctrl-D (Ctrl-Z on Windows) DESCRIPTION
XMLRPCsh is a shell for making XMLRPC calls. It takes one parameter, endpoint (actually it will tell you about it if you try to run it). Additional commands can follow. After that you'll be able to run any methods of XMLRPC::Lite, like autotype, readable, etc. You can run it the same way as you do it in your Perl script. You'll see output from method, result of XMLRPC call, detailed info on XMLRPC faulure or transport error. For full list of available methods see documentation for XMLRPC::Lite. Along with methods of XMLRPC::Lite you'll be able (and that's much more interesting) run any XMLRPC methods you know about on remote server and see processed results. You can even switch on debugging (with call something like: "on_debug(sub{print@_})") and see XMLRPC code with headers sent and received. COPYRIGHT
Copyright (C) 2000 Paul Kulchenko. All rights reserved. AUTHOR
Paul Kulchenko (paulclinger@yahoo.com) perl v5.12.4 2010-06-03 XMLRPCSH(1p)
All times are GMT -4. The time now is 09:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy