03-13-2017
Hi,
Can you try running the script with the -x flag (i.e. bash -x ./script.sh, for instance), and see what the actual curl command it's running looks like ?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Keeping in mind that I'm relatively comfortable with programming in general but very new to unix and korn/bourne shell scripts..
I'm using awk on a CSV file, and then performing calculations and operations on specific fields within specific records. The CSV file I'm working with has about 600... (2 Replies)
Discussion started by: yongho
2 Replies
2. Shell Programming and Scripting
Hi there, I'm pretty new to scripting and wondering if anyone had any idea's, scripts or snippets on how I can do the following.
I basically want a shell script that will look at all the files in a directory and find all the names and addresses in them then output them to the screen nicely... (12 Replies)
Discussion started by: mrpugster
12 Replies
3. AIX
Hello:
NOOB here. I attempted to use smit mkcd. Failed on first attempt, not enough space. 2nd attempt tried to place iso on /usr, not enough space there. Cleanup ran for about 5 minutes after aborting. Now AIX won't boot. LCD display on 7029-6E3 says: 0517 MOUNT /USR. Attempted to boot from CD... (11 Replies)
Discussion started by: bbird
11 Replies
4. UNIX for Dummies Questions & Answers
Hi,
Does anyone know how to make BASH provide a list of possible completions on the first tab, and then start cycling through the possibilites on the next tab?
Right now this is what I have in my .bashrc:
bind "set show-all-if-ambiguous on"
bind \\C-o:menu-complete
This allows... (0 Replies)
Discussion started by: Mithu
0 Replies
5. Shell Programming and Scripting
I have an alias already in my .bash_profile to download files using cUrl's -o (output to file, user provides the file name) option. I find I'm using it quite a bit, so I wanted to write a script to run "curl -o", taking the necessary inputs - file name and URL from which to download - and then... (3 Replies)
Discussion started by: SilversleevesX
3 Replies
6. Shell Programming and Scripting
Hi all, I now have project in UNIX Solaris and I want to have some new ideas to execute it, so I hope you help me finding new ideas in scripting or some infrastructure .bye (1 Reply)
Discussion started by: hard_revenge
1 Replies
7. HP-UX
Hello,
I have a very old hp rp2450 running 11i2 that I had to power off. When turning it back on it hangs with the following message. Would booting into SUM get me any further? I've never used SUM, so I'm asking before I go down that rabbit hole.
Thanks for the help.
#
## extra content... (1 Reply)
Discussion started by: calabaria
1 Replies
8. Shell Programming and Scripting
Hello Experts ,
I have an use case which needed your help . I have been using google for 2 days buy couldn`t succed , i believe i can get the help here.
Here is my use case to run on bash shell
1. Access an URL -- in script , it will be mentioned as inputURL
2. Once i accessed the URL... (1 Reply)
Discussion started by: radha254
1 Replies
9. Shell Programming and Scripting
Hello Experts ,
I have an use case which needed your help . I have been using google for 2 days buy couldn`t succed , i believe i can get the help here.
Here is my use case to run on bash shell
1. Access an URL -- in script , it will be mentioned as inputURL
2. Once i accessed the URL... (5 Replies)
Discussion started by: radha254
5 Replies
10. UNIX for Beginners Questions & Answers
Can anyone offer any advice on how to modify the script below to work on a new system we have, that has no graphics capability? We admin the system through a serial RAS device. I've tried running the below script through the RAS and through an ssh -X session. It failed with something like "GTK... (3 Replies)
Discussion started by: yelirt5
3 Replies
LEARN ABOUT PHP
com_get_active_object
COM_GET_ACTIVE_OBJECT(3) 1 COM_GET_ACTIVE_OBJECT(3)
com_get_active_object - Returns a handle to an already running instance of a COM object
SYNOPSIS
variant com_get_active_object (string $progid, [int $code_page])
DESCRIPTION
com_get_active_object(3) is similar to creating a new instance of a "COM" object, except that it will only return an object to your script
if the object is already running. OLE applications use something known as the " Running Object Table" to allow well-known applications to
be launched only once; this function exposes the COM library function GetActiveObject() to get a handle on a running instance.
PARAMETERS
o $progid
-$progid must be either the ProgID or CLSID for the object that you want to access (for example Word.Application).
o $code_page
- Acts in precisely the same way that it does for the "COM" class.
RETURN VALUES
If the requested object is running, it will be returned to your script just like any other COM object.
ERRORS
/EXCEPTIONS
There are a variety of reasons why this function might fail, the most common being that the object is not already running. In that situa-
tion, the exception error code will be MK_E_UNAVAILABLE; you can use the getCode method of the exception object to check the exception
code.
NOTES
Warning
Using com_get_active_object(3) in a web server context is not always a smart idea. Most COM/OLE applications are not designed to
handle more than one client concurrently, even (or especially!) Microsoft Office. You should read Considerations for Server-Side Au-
tomation of Office for more information on the general issues involved.
PHP Documentation Group COM_GET_ACTIVE_OBJECT(3)