Experimental Physics and Industrial Control System
|
Hi EPICS community,
I’m running EPICS 3.14.11 on Windows XP and using windows extensions 32 MEDM as the GUI. I’m trying to run bash scripts from MEDM. I’m able to launch a xterm from a button created using MEDM’s shell command palette. The xterm window
runs cygwin and I’m trying to use an argument to xterm to run the bash script. My problem is that the command line arguments are not parsed correctly when I specify two command-line arguments for xterm. I can run the following from a windows DOS window: xterm
–e “dxpflyscan.sh /cygdrive/c/epics/bash/mca1.txt”. This works to create the cygwin xterm window and launches the dxpflyscan.sh script with /cygdrive/c/epics/bash/mca1.txt as an argument. However, the following does not work with MEDM. I just get a flash of
a DOS window.
“shell command” {
object {
x=70
y=167
width=127
height=42
}
command[0]{
label=”dxp-flyscan”
name=”xterm”
args=”-e “dxpflyscan.sh /cygdrive/c/epics/bash/mca1.txt””
}
Has anybody had better success at getting bash scripts to work with MEDM on windows/cygwin? MEDM does work when I only specify the shell script name as an argument to xterm.
Cheers,
Jay Steele
Xradia Corporation
The information in this email, including any attachments, is confidential and intended only for the recipient(s) listed. Any use of this email for any other purpose is prohibited. If you have received this email in error,
please notify me immediately by reply email, delete this email, and do not disclose its contents to anyone.
|
- Replies:
- Re: problem running bash script with MEDM on Windows/Cygwin Tim Mooney
- Re: problem running bash script with MEDM on Windows/Cygwin Andrew Johnson
- Navigate by Date:
- Prev:
Re: Py-Epics and string waveform records Matt Newville
- Next:
registrySetTableSize() unusable Till Straumann
- 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
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: OMS VS4 "omsPut: card 0 send ring full!" Nerses Gevorgyan
- Next:
Re: problem running bash script with MEDM on Windows/Cygwin Tim Mooney
- 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
2018
2019
2020
2021
2022
2023
2024
|
ANJ, 18 Nov 2013 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|