Solved

Applicatoin Wrapper

Posted on 2011-02-17
3
932 Views
Last Modified: 2012-05-11
what is purpose of application wrappers in linux? and how to configure any one.
0
Comment
Question by:aashee
  • 2
3 Comments
 
LVL 76

Expert Comment

by:arnold
ID: 34917408
A wrapper is a process that wraps an application/program.
http://www.unix.com/unix-dummies-questions-answers/28217-what-wrapper-script-how-write.html

it depends on what the requirements are does it need to only set environement variables for the underlying application to run?

You tend to pose a one sentence questions that can easily be answered by a quick web search.
it
0
 

Author Comment

by:aashee
ID: 34917633
hi arnoid,
but why do we create wrappers. whats the difference between application and wrapper.
my understanding is that wrapper is after we pass parameters to application . is that correct ?
0
 
LVL 76

Accepted Solution

by:
arnold earned 500 total points
ID: 34919104
A wrapper can provide functionality the application does not have.
Or set parameters prior to executing the application.
Often to run a specific type of a java app, certain Environment variables have to be set.
A wrapper can be a shell script that prompts the user for some input and then runs the application with the user's responses passed.

i.e. you have an application that you have to retain
so instead of running application parameter parameter parameter parameter parameter parameter parameter
YOu have a shell script that prompts the user and then executes this application.

A more common use of a wrapper dealt with the wrapper being an SUID which meant the application was run under a different set of credentials.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now