Sponsored Content
Operating Systems AIX AIX Shell script does not work Post 302542381 by giovanni on Wednesday 27th of July 2011 11:15:32 AM
Old 07-27-2011
And manual calls to send_message work as expected? Yes.
Is there anything we should know about the send_message command (does it spark up a thread in the background and return?) No.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Global alias does not work in shell script

Hi Linux Set up - alias ls='ls -l' Then run script #! /bin/ksh sub() { ls } sub Is there any way to get it working. I don't want to define alias inside of the program Thank you (2 Replies)
Discussion started by: zam
2 Replies

2. Shell Programming and Scripting

shell script, echo doesn't work

#!/bin/sh something(){ echo "Inside something" echo $1 $2 } val=$(something "Hello " "world") Output expected: Inside somethingHello world But it's not echoing. (4 Replies)
Discussion started by: cola
4 Replies

3. Shell Programming and Scripting

shell script does not work if run in background

Dear All, I am trying to run a script in background like ./scriptname.sh & but when i try to run it in background it is giving me an error "syntax error at line 12: `(' unexpected" at the line 12, there is a function definition "function getFileList()". This script runs fine if i run on... (2 Replies)
Discussion started by: bilalghazi
2 Replies

4. Shell Programming and Scripting

I need to do a work to my job, but i m new in script shell, someone can help with this..

I need to do a work to my job, but i m new in script shell, someone can help with this.. :confused: Description Bsafe The command creates a backup directory of each month at the command line (arguments of the script). The names of directories to copy will always be specified for the... (4 Replies)
Discussion started by: strshel
4 Replies

5. Shell Programming and Scripting

SSH shell script does not work

Hello I have a Zabbix Server were Linux kernel version 2.6.26-2-amd64 is running. now my Question how can i make a script that does: - connect with ssh to a device - get the systeminfo (but only the interfaces, mac adresses, serialnumber and Software version) - write the output in a file ... (18 Replies)
Discussion started by: Fraggy
18 Replies

6. Shell Programming and Scripting

$RANDOM does not work inside a shell script

Hi folks I'm coding on Ubuntu 9.04 standard shell. I'm writing a script that needs to generate a random number at some point of its execution. When I do echo $RANDOMas a command inside shell, I clearly get some randomly generated number However when I do i=`$RANDOM` echo $ior even... (14 Replies)
Discussion started by: ksk
14 Replies

7. UNIX for Dummies Questions & Answers

How to work command 'cd' in shell script?

I have simple script. like that, I am working on /usr/local/src and also under src folder there is a ft folder #!/bin/ksh #!/bin/bash dirpath="/usr/local/src/ft" echo $dirpath cd $dirpath echo displays ok "/usr/local/src/ft" but that doesn't enter "ft" folder. stays in current... (4 Replies)
Discussion started by: F@NTOM
4 Replies

8. Shell Programming and Scripting

Shell script to work on dates

Hi Sir/Madam I have a file data.txt like below file_name date_of_creation x 2/10/2012 y 8/11/2010 z 11/3/2013 a 2/10/2013 b 3/10/2013 c ... (4 Replies)
Discussion started by: kumar85shiv
4 Replies

9. HP-UX

Su to another user from root doesn't work within shell script

Hello I have a shell script that is run as root. Script rins ok until the point where it have to switch to user "mqm" to run other commands. It just hangs at the point of this line in the script su - mqm -c "dspmq" I ran the same commands at the terminal and they run fine. Any thoughts. (6 Replies)
Discussion started by: mo12
6 Replies

10. Programming

Shell script - if statements dont work

hi all, i have made a shell script and it runs until it reaches the if statement, doesn't the ! mean only if the command fails it will echo me that message and then exit can anyone please help me what is wrong with my code? many thanks, rob #!/bin/bash echo "is this archive... (10 Replies)
Discussion started by: robertkwild
10 Replies
Gtk2::UniqueBackend(3pm)				User Contributed Perl Documentation				  Gtk2::UniqueBackend(3pm)

NAME
Gtk2::UniqueBackend - IPC backend used by libunique DESCRIPTION
Gkt2::UniqueBackend is the base, abstract class implemented by the different IPC mechanisms used by Gtk2::Unique. Each Gtk2::UniqueApp instance creates a Gkt2::UniqueBackend to request the name or to send messages. HIERARCHY
Glib::Object +----Gtk2::UniqueBackend METHODS
uniquebackend = Gtk2::UniqueBackend->create Creates a Gkt2::UniqueBackend using the default backend defined at compile time. You can override the default backend by setting the UNIQUE_BACKEND environment variable with the name of the desired backend. string = $backend->get_name $backend->set_name ($name) o $name (string) boolean = $backend->request_name Requests the name set using "Gtk2::set_name()" and this backend. screen = $backend->get_screen $backend->set_screen ($screen) o $screen (Gtk2::Gdk::Screen) uniqueresponse = $backend->send_message ($command_id, $message_data, $time_) o $command_id (integer) o $message_data (Gtk2::UniqueMessageData or undef) o $time_ (integer) Sends command_id, and optionally message_data, to a running instance using backend. string = $backend->get_startup_id $backend->set_startup_id ($startup_id) o $startup_id (string) integer = $backend->get_workspace Retrieves the current workspace. ENUMS AND FLAGS
enum Gtk2::UniqueResponse o 'invalid' / 'UNIQUE_RESPONSE_INVALID' o 'ok' / 'UNIQUE_RESPONSE_OK' o 'cancel' / 'UNIQUE_RESPONSE_CANCEL' o 'fail' / 'UNIQUE_RESPONSE_FAIL' o 'passthrough' / 'UNIQUE_RESPONSE_PASSTHROUGH' SEE ALSO
Gtk2::Unique, Glib::Object COPYRIGHT
Copyright (C) 2009-2010 by Emmanuel Rodriguez perl v5.14.2 2011-11-16 Gtk2::UniqueBackend(3pm)
All times are GMT -4. The time now is 04:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy