Sponsored Content
Top Forums Shell Programming and Scripting Want to backup dirs on application start and close. Post 302965134 by zorrokan on Sunday 24th of January 2016 05:17:19 AM
Old 01-24-2016
Not sure what write access to an application is, not skilled enough to create a wrapper. The application is invoked by either typing its name at the console (ardour4) or by double clicking an icon in the GUI.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Start application after Oracle has started

Who can tell me how I can see to it that a application doesn't try to start it's processes untill Oracle has completely started. Thanx. (3 Replies)
Discussion started by: Piet
3 Replies

2. UNIX for Dummies Questions & Answers

how do i auto start application upon startup?

sorry, i'm a newbie to unix... but how do i or rather where do i write scripts that auto start my application e.g. Informix? in Windows it would be services but in UNIX where can i auto start my informix program? To run informix i just type "oninit". And do i have to login to any user before... (2 Replies)
Discussion started by: doofie
2 Replies

3. Linux

where to put an application if i want to start it on start up

hi i want to know the way by which i put any file somewhere and it get s started when the system restarts or bots i mean whenever my system starts that application must also start thanks (3 Replies)
Discussion started by: shukla_chanchal
3 Replies

4. Shell Programming and Scripting

Start and stop of an application thru shell scripts.

Hi, I just learnt the shell scripting and got working on that right now. I have one problem. Here i am having a java application that needs to be start and stop using two shell scripts, i.e., starting the java application using one shell script and stopping the application using another... (1 Reply)
Discussion started by: sadha
1 Replies

5. Programming

TCP trashing data on application close

I am using c to send data to a socket with the following commands: socket = socket(AF_INET, SOCK_STREAM, ptrp->p_proto); ioctl(socket, FIONBIO, (char *)&on); connect(socket) send(socket,data) shutdown(socket, SHUT_WR); recv(socket) //ready last of data waiting on the port //note this is... (3 Replies)
Discussion started by: metrix
3 Replies

6. UNIX for Dummies Questions & Answers

How to start application and keep script running

What I'm looking for is best explained with a little example. #!/bin/bash gedit echo "I need this message to appear while gedit is still running, but it appears only then when I close gedit." Of course most of the times you want the script to wait, but in this case I want to start a new... (5 Replies)
Discussion started by: MrZehl
5 Replies

7. Shell Programming and Scripting

Not correct processing of “\ “ in names of dirs inside shell script (tar command - system backup scr

Hello, Recently, I've started with shell scripting, and decided to write a script for my system backup using tar. When I was dealing with tar execution inside shell script I found this, inside shell we have the following code: tar $TAR_PARAMS $ARCHIVE_FILE $EXCLUDE $BACKUP_STARTwith... (6 Replies)
Discussion started by: ilnar
6 Replies

8. Windows & DOS: Issues & Discussions

Start windows application (.bat) from Unix

How can I start an application sitting on a windows machine (XP) from Unix shell script (AIX server) ? (6 Replies)
Discussion started by: pkan
6 Replies

9. UNIX for Dummies Questions & Answers

Shell Scripting Stop/Start Application

I did a search of these forums but couldnt find a suitable resolution. I am attempting to script a stop and start of an application on AIX. Such as: However it has authentication where username and password prompts will appear after running the above command requiring input from a... (2 Replies)
Discussion started by: Soupy
2 Replies

10. Programming

The application was unable to start correctly(0xc0150002).

Dear Team, please help me on the issue "The application was unable to start correctly(0xc0150002).click ok to close the application" Have created the build using installshield 2012. dll was generated from VS2008. Used 3rd party libraries.Included all the libraries,dll. This was the first tme... (1 Reply)
Discussion started by: SA_Palani
1 Replies
app(5)								       Files								    app(5)

NAME
app - Application resource file. DESCRIPTION
The application resource file specifies the resources an application uses, and how the application is started. There must always be one application resource file called Application.app for each application Application in the system. The file is read by the application controller when an application is loaded/started. It is also used by the functions in systools , for example when generating start scripts. FILE SYNTAX
The application resource file should be called Application.app where Application is the name of the application. The file should be located in the ebin directory for the application. It must contain one single Erlang term, which is called an application specification : {application, Application, [{description, Description}, {id, Id}, {vsn, Vsn}, {modules, Modules}, {maxP, MaxP}, {maxT, MaxT}, {registered, Names}, {included_applications, Apps}, {applications, Apps}, {env, Env}, {mod, Start}, {start_phases, Phases}]}. Value Default ----- ------- Application atom() - Description string() "" Id string() "" Vsn string() "" Modules [Module] [] MaxP int() infinity MaxT int() infinity Names [Name] [] Apps [App] [] Env [{Par,Val}] [] Start {Module,StartArgs} undefined Phases [{Phase,PhaseArgs}] undefined Module = Name = App = Par = Phase = atom() Val = StartArgs = PhaseArgs = term() Application is the name of the application. For the application controller, all keys are optional. The respective default values are used for any omitted keys. The functions in systools require more information. If they are used, the following keys are mandatory: description , vsn , modules , reg- istered and applications . The other keys are ignored by systools . description : A one-line description of the application. id : Product identification, or similar. vsn : The version of the application. modules : All modules introduced by this application. systools uses this list when generating start scripts and tar files. A module can only be defined in one application. maxP : Deprecated - will be ignored The maximum number of processes allowed in the application. maxT : The maximum time in milliseconds that the application is allowed to run. After the specified time the application will automatically terminate. registered : All names of registered processes started in this application. systools uses this list to detect name clashes between different appli- cations. included_applications : All applications which are included by this application. When this application is started, all included application will automatically be loaded, but not started, by the application controller. It is assumed that the topmost supervisor of the included application is started by a supervisor of this application. applications : All applications which must be started before this application is allowed to be started. systools uses this list to generate correct start scripts. Defaults to the empty list, but note that all applications have dependencies to (at least) kernel and stdlib . env : Configuration parameters used by the application. The value of a configuration parameter is retrieved by calling applica- tion:get_env/1,2 . The values in the application resource file can be overridden by values in a configuration file (see config(5) ) or by command line flags (see erl(1) ). mod : Specifies the application callback module and a start argument, see application(3erl) . The mod key is necessary for an application implemented as a supervision tree, or the application controller will not know how to start it. The mod key can be omitted for applications without processes, typically code libraries such as the application STDLIB. start_phases : A list of start phases and corresponding start arguments for the application. If this key is present, the application master will - in addition to the usual call to Module:start/2 - also call Module:start_phase(Phase,Type,PhaseArgs) for each start phase defined by the start_phases key, and only after this extended start procedure will application:start(Application) return. Start phases may be used to synchronize startup of an application and its included applications. In this case, the mod key must be specified as: {mod, {application_starter,[Module,StartArgs]}} The application master will then call Module:start/2 for the primary application, followed by calls to Module:start_phase/3 for each start phase (as defined for the primary application) both for the primary application and for each of its included application, for which the start phase is defined. This implies that for an included application, the set of start phases must be a subset of the set of phases defined for the primary application. Refer to OTP Design Principles for more information. SEE ALSO
application(3erl) , systools(3erl) Ericsson AB kernel 2.14.3 app(5)
All times are GMT -4. The time now is 09:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy