Thanks Till!
That was the problem. CWD was "/" for the genSub Process function
and my startup directory for all the other cases.
- Bruce
Till Straumann wrote:
Are you using relative file paths?
The CWD of the task executing 'Process' may not be what
you think...
T.
Bruce Hill wrote:
I have a genSub I've setup to run test code on my IOC, and I'm getting
errors when I try to read the test set data files. This is an
RTEMS 4.7.1 based
IOC accessing an NFS mounted filesystem. I'm able to read the same
files from a genSub Init function, but not from the Process function.
I can also read these files if I initiate the test from the Cexp
shell on the RTEMS
console.
Is there something about how the Process functions are called that would
preclude file I/O?
Thanks!
- Bruce Hill
- References:
- File I/O from genSub Process function Bruce Hill
- Re: File I/O from genSub Process function Till Straumann
- Navigate by Date:
- Prev:
Re: File I/O from genSub Process function Till Straumann
- Next:
QtCATool Silver
- 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: File I/O from genSub Process function Till Straumann
- Next:
QtCATool Silver
- 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
|