09-06-2008
Use this syntex
> /<completepath>/scriptname [args if any]
10 More Discussions You Might Find Interesting
1. Programming
At time of installation I have to open the resource. and i have to insert a string serial number in the exe.
please provide me code to edit the exe (in solaris) to insert a serial number which can be used by exe at run time. (6 Replies)
Discussion started by: ssahu
6 Replies
2. Programming
Hi,
I want to write a program in C or in Perl which will tell me that a function is called in which executables.
I tried to use the unix command like 'nm', 'strings' and so on to find out whether a function is called in that executable or not but could not able to find a clue. The whole... (1 Reply)
Discussion started by: rocky_74
1 Replies
3. Shell Programming and Scripting
Now I am using the HP-UX11.11 version.
The scripts are runninh in KSH shell.
While I wan to call one executable of any Pro*C file, I have got the following error, however the executable is running fine directly.
testpri Started at 10.05.200923:40
/usr/lib/dld.sl: Bad magic number for... (0 Replies)
Discussion started by: priyankak
0 Replies
4. Programming
hi guys
i have only basic knowledge of c so guys plz help me .....
i want 2 call c executable which requires file name as argument and i need to modify file contents before calling that executable now my question is how can i call this c executable inside another c program with arguments ??
i... (9 Replies)
Discussion started by: zedex
9 Replies
5. Programming
hi guys
i have only basic knowledge of C so guys plz help me .....
is C language support call the C executable inside the C ??
example contect mainA.c have a many function define in the struct,when i compile mainA and make a executable the name is ( A ),can i use executable C inside the C... (5 Replies)
Discussion started by: isnoname
5 Replies
6. Shell Programming and Scripting
hai
i have a directory lib
in that lib directory i have 10 batch files.
step i have to do is 1) EXECUTE ALL THE FILES by using the command dwarfdump <filename>| grep DW_AT_SUN_command_line
and put the output in one text file.instead of executing the files for all the 10 files... (13 Replies)
Discussion started by: shenthil76
13 Replies
7. Shell Programming and Scripting
Folks ,
can anyone post a sample showing a way to parse a variable containing a string to a .exe file .
Thanks
Venu (2 Replies)
Discussion started by: venu
2 Replies
8. Shell Programming and Scripting
I have to run some shell scripts in Windows using Cygwin. I am able to achieve that using
%BASH% --login -i "/cygdrive/d/script.sh"
, where %BASH% is an environment variable in Windows set to
C:\cygwin\bin\bash.exe.
I have a created a Cygwin environment variable $EXE_PATH =... (3 Replies)
Discussion started by: HemanthJayasimh
3 Replies
9. UNIX for Beginners Questions & Answers
Dear all,
I download a .exe file in my current folder called: ukbmd5.exe. I was told to run the command below: ukbmd5 ukb25278.enc to verify the integrity of the files that you have downloaded and the program ukbmd5 has been made available to assist with decrpying ukb25278.enc.
while when I run... (1 Reply)
Discussion started by: forevertl
1 Replies
10. Shell Programming and Scripting
I am running the below loop that to process the 3 bam files (which isn't always the case). A .py executable is then called using | xargs sh to further process. If I just run it with echo the output is fine and expected, however when
| xargs sh is added I get the error. I tried adding | xargs... (4 Replies)
Discussion started by: cmccabe
4 Replies
LEARN ABOUT DEBIAN
xtmergearglists
XtSetArg(3) XT FUNCTIONS XtSetArg(3)
NAME
XtSetArg, XtMergeArgLists - set and merge ArgLists
SYNTAX
int XtSetArg(Arg arg, String name, XtArgVal value);
ArgList XtMergeArgLists(ArgList args1, Cardinal num_args1, ArgList args2, Cardinal num_args2);
ARGUMENTS
arg Specifies the name-value pair to set.
args1 Specifies the first ArgList.
args2 Specifies the second ArgList.
num_args1 Specifies the number of arguments in the first argument list.
num_args2 Specifies the number of arguments in the second argument list.
name Specifies the name of the resource.
value Specifies the value of the resource if it will fit in an XtArgVal or the address.
DESCRIPTION
The XtSetArg function is usually used in a highly stylized manner to minimize the probability of making a mistake; for example:
Arg args[20];
int n;
n = 0;
XtSetArg(args[n], XtNheight, 100);n++;
XtSetArg(args[n], XtNwidth, 200);n++;
XtSetValues(widget, args, n);
Alternatively, an application can statically declare the argument list and use XtNumber:
static Args args[] = {
{XtNheight, (XtArgVal) 100},
{XtNwidth, (XtArgVal) 200},
};
XtSetValues(Widget, args, XtNumber(args));
Note that you should not use auto-increment or auto-decrement within the first argument to XtSetArg. XtSetArg can be implemented as a
macro that dereferences the first argument twice.
The XtMergeArgLists function allocates enough storage to hold the combined ArgList structures and copies them into it. Note that it does
not check for duplicate entries. When it is no longer needed, free the returned storage by using XtFree.
SEE ALSO
XtOffset(3)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
X Version 11 libXt 1.1.3 XtSetArg(3)