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  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Open .opi filenames with spaces from command line?
From: "J. Lewis Muir" <[email protected]>
To: EPICS Tech-Talk <[email protected]>
Date: Fri, 25 May 2018 17:43:10 -0500
Hello.

According to:

  http://cs-studio.sourceforge.net/docbook/ch29.html

the way to open a .opi file from the command line is:

===
$ css --launcher.openFile some_file.opi
===

Will that work if the .opi file has a space in its name?

For example:

===
$ css --launcher.openFile 'some file.opi'
===

I'm asking because I looked at the "--launcher.openFile" option
documentation at:

  https://help.eclipse.org/neon/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fruntime-options.html

and it says:

  --launcher.openFile <space separated list of files> (Executable)

    a space separated list of files to pass to the application. This
    option is typically used to pass a list of files to be opened
    by an Eclipse application. This option requires SWT in order
    to fire the necessary SWT_OPENDOC event for the files that are
    specified. Relative paths will be resolved first against the current
    working directory, and second against the eclipse program directory.

Obviously, if a space is used as the list delimiter, there needs to be
a way to escape a space, or otherwise specify the list, when you don't
want it to be interpreted as a list delimiter.

Thanks,

Lewis

Replies:
RE: Open .opi filenames with spaces from command line? Mark Rivers

Navigate by Date:
Prev: Open .opi file from command line with CSS Display Builder? J. Lewis Muir
Next: Re: Installation of RTEMS and EPICS on MVME6100 Heinz Junkes
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Open .opi file from command line with CSS Display Builder? Kasemir, Kay
Next: RE: Open .opi filenames with spaces from command line? Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
ANJ, 29 May 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·