Håkan Mattsson

Results 48 comments of Håkan Mattsson

[macro eval cmd] !$cmd ?SH-PROMPT: !echo ==$$?== ?==0== ?SH-PROMPT: [endmacro] [macro eval_any cmd] !$cmd ?SH-PROMPT: !echo ==$$?== ?==[0-9]+== ?SH-PROMPT: [endmacro]

Are you using the same shell as lux when you run it outside lux? See the event.log about how lux starts its shell. (It is probably "/bin/sh -i".) /Håkan On...

Maybe. It is one possible difference in the run environment. We have had issues with /bin/sh compliance on some platforms. Another issue may be the terminal settings. If you cannot...

I can confirm that it is a bug in Lux. It was possible to reproduce with: ``` /usr/local/lux/lib/lux-1.15.1/priv/bin/runpty /bin/sh -i echo ``` then the shell hanged. Unfortunately I don't know...

If you are brave you may test the latest on the non-blocking-pty branch. It is not fully tested though. /Håkan On Mon, Jan 16, 2017 at 5:09 PM, Lloyd Rochester...

Can you provide a minimal test case which reproduces the (new) problem? The error message saying something about shell context, probably implies that the shell has died prematurely. Take a...

Hi, I cannot see what is wrong from the printout. Please, do the following to reproduce: ``` script lux.log ``` git clone -b develop [email protected]:hawk/lux.git cd lux autoconf ./configure make...

Thanks. I have added your fix on the develop branch. /Håkan On Mon, May 23, 2016 at 11:55 AM, novakmi [email protected] wrote: > fix > > (void)setuid(getuid()); > > does...

There has been quite a few that have expressed that they really, really needed an if-like statement. But in the end when looking into the actual test scripts (not just...

As I mentioned before you can roll your own if statement. For example you may do something like this: ``` [shell test] [invoke if "$FOO == bar" one two] [macro...