Re: Re: how to use system function to execute the script

2018-06-25 Thread bin.w...@qkmtech.com
thanks,it works bin.w...@qkmtech.com From: Chris Johns Date: 2018-06-22 13:07 To: bin.w...@qkmtech.com; Users Subject: Re: how to use system function to execute the script On 22/06/2018 14:44, bin.w...@qkmtech.com wrote: > hi everyone: > > i want to use the "system()" to

Re: how to use system function to execute the script

2018-06-22 Thread Chris Johns
On 22/06/2018 17:05, bin.w...@qkmtech.com wrote: > > where is rtems_shell_execute_cmd function defined? > You can search the headers with: $ grep -r rtems_shell_execute_cmd cpukit/include It is here: https://git.rtems.org/rtems/tree/cpukit/include/rtems/shell.h#n144 Chris __

Re: Re: how to use system function to execute the script

2018-06-22 Thread bin.w...@qkmtech.com
hi chris where is rtems_shell_execute_cmd function defined? best ben bin.w...@qkmtech.com From: Chris Johns Date: 2018-06-22 13:07 To: bin.w...@qkmtech.com; Users Subject: Re: how to use system function to execute the script On 22/06/2018 14:44, bin.w...@qkmtech.com wrote: > hi every

Re: how to use system function to execute the script

2018-06-21 Thread Chris Johns
On 22/06/2018 14:44, bin.w...@qkmtech.com wrote: > hi everyone: > > i want to use the "system()" to execute the script. but do not has output > > first i want to use "system()" to execute the shell cmd, but alse have no > output > > the test code is as followed: > >     system("ls -l"); >