diff options
author | Chris Johns <chrisj@rtems.org> | 2008-04-11 22:57:54 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2008-04-11 22:57:54 +0000 |
commit | 55c64fc9cd8ddd7a3d4b3207b9c9c698c7a9ec4b (patch) | |
tree | 6a00319f7a8793a8dfd64e1732ae7cdff7a82787 /cpukit/libmisc/shell/shell.h | |
parent | 2008-04-09 Madhusudan.C.S <madhusudancs@gmail.com> (diff) | |
download | rtems-55c64fc9cd8ddd7a3d4b3207b9c9c698c7a9ec4b.tar.bz2 |
2008-04-12 Chris Johns <chrisj@rtems.org>
* libmisc/shell/shell.c, libmisc/shell/shell.h,
libmisc/shell/shell_script.c: Add support to echo the commands to
stdout. This is useful with the -v script option to show commands
as the run. Also added support to chdir to the directory the task
invoking the script is in.
* libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
libmisc/shell/utils-cp.c: Update tro the latest FreeBSD version.
* libcsupport/Makefile.am, libcsupport/src/fchown.c: Add fchown
support.
Diffstat (limited to 'cpukit/libmisc/shell/shell.h')
-rw-r--r-- | cpukit/libmisc/shell/shell.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpukit/libmisc/shell/shell.h b/cpukit/libmisc/shell/shell.h index 10b10bd6ff..89b041a70f 100644 --- a/cpukit/libmisc/shell/shell.h +++ b/cpukit/libmisc/shell/shell.h @@ -170,7 +170,8 @@ rtems_status_code rtems_shell_script( const char *input, const char *output, int output_append, - int wait + int wait, + int echo ); /* @@ -188,6 +189,8 @@ typedef struct { int exit_shell; /* logout */ int forever ; /* repeat login */ int errorlevel; + int echo; + char cwd[256]; const char* input; const char* output; int output_append; |