EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: CSS app Launcher
From: [email protected] (Patard Charles Henri)
To: "Kasemir, Kay" <[email protected]>
Cc: [email protected]
Date: Wed, 11 Jan 2012 10:39:41 +0100
Le 11/01/2012 05:53, Kasemir, Kay a écrit :

Hello:

 

Internally, the application launcher uses the Eclipse/SWT

  Program.launch()

 

command.

 

This is supposed to launch “the operating system executable associated with the file or URL”.

On Windows or OS X this means for example that your “command” can be

/Path/to/some/spreadsheet.xls

and it will open in Excel.

 

So I would look for the association of your executable file with in this case firefox somewhere in the operating system, outside of CSS.

What happens when you double click the file in some other file navigator?

I’m not even sure what OS you are using. Linux? Try the gnome or KDE file browser?

 

If all fails, you might have to create a shell script/batch file that opens your actual file in the desired tool,

and then enter the path to that shell script in the CSS app launcher.

 

Thanks,

Kay

 

From: [email protected] [mailto:[email protected]] On Behalf Of Patard Charles Henri
Sent: Tuesday, January 10, 2012 5:27 AM
To: [email protected]
Subject: CSS app Launcher

 

Hello All,

I'm trying to launch an executable file ada (bin file) with Application Launcher of CSS. I create a .app in a project and configure the .app like this :

<application>
      <command>./ctrol/execs/applications/choix/exec/choix</command>
      <icon>icon:work</icon>
</application>

When I run the .app file with the Application Launcher the Firefox Navigator open with this question :

" You have chosen to open choix which is a file type : bin file. Would you like to save it ? "

If I try the same thing with a .jar file, it's working good.

Thanks. Best regards.

Thanks Kay,

Sorry I'm using RedHat Enterprise Linux 5 with Gnome session. I try with a KDE session, the problem is still there. When I double click the file in operating system it's run normally.

Finally I try to create a script/batch file and enter the path in the CSS app launcher. If I link .sh file with gedit it's run. Gedit open and display .sh file. In another case if I link .sh file the rcp console said : "Argument non valide : « /home/patard/Desktop/start.sh »".

start.sh file :
#! /bin/bash
exec "/ctrol/execs/applications/choix/exec/choix"

.app file :
<application>
  <command>home/patard/Desktop/start.sh</command>
  <icon>icon:run</icon>
</application>

How are you since our last met ?




begin:vcard
fn:Charles-Henry PATARD
n:PATARD;Charles-Henry
org;quoted-printable:GANIL;Service des Acc=C3=A9l=C3=A9rateurs/Groupe Informatique Machine
adr:;;;Caen;;;France
email;internet:[email protected]
title:Technicien informatique
tel;work:0231454905
version:2.1
end:vcard


Replies:
Re: CSS app Launcher Nerses Gevorgyan
References:
CSS app Launcher Patard Charles Henri
RE: CSS app Launcher Kasemir, Kay

Navigate by Date:
Prev: RE: CSS app Launcher Kasemir, Kay
Next: Re: pyepics: Strategies for working with fast-changing large arrays Anton Derbenev
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: CSS app Launcher Kasemir, Kay
Next: Re: CSS app Launcher Nerses Gevorgyan
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·