Re: CONFIG_NSH_CMDPARMS not working as expected

2021-02-17 Thread Gregory Nutt
I can't execute: echo ":-)" > /test.txt "nsh: echo: open failed: No such file or directory" The root file system is not a "real" file system.  It is a pseudo-file system and you cannot create regular files there.  See https://cwiki.apache.org/confluence/display/NUTTX/Pseudo+File+System (a

Re: CONFIG_NSH_CMDPARMS not working as expected

2021-02-17 Thread Pieter-Jan Dewitte
a > directory where temporary files can be created is taken from > CONFIG_LIBC_TMPDIR and it defaults to /tmp if CONFIG_LIBC_TMPDIR is not > set." > > David > > -Original Message- > From: Pieter-Jan Dewitte [mailto:pieterjan.dewi...@atmosuav.com] > Sent: Tuesday, February 16

RE: CONFIG_NSH_CMDPARMS not working as expected

2021-02-16 Thread David Sidrane
--Original Message- From: Pieter-Jan Dewitte [mailto:pieterjan.dewi...@atmosuav.com] Sent: Tuesday, February 16, 2021 4:09 AM To: dev@nuttx.apache.org Subject: CONFIG_NSH_CMDPARMS not working as expected Hi all, I'm looking for help and found on Github this is the best way. In short, I d

CONFIG_NSH_CMDPARMS not working as expected

2021-02-16 Thread Pieter-Jan Dewitte
Hi all, I'm looking for help and found on Github this is the best way. In short, I don't understand why "set FOO `pwd`" gives me this error: "nsh: pwd: open failed: No such file or directory" I don't understand it because the documentation