On Mon, Mar 26, 2018 at 08:33:41PM +0200, Andreas Schwab wrote: > On Mär 26 2018, Jason Merrill <ja...@redhat.com> wrote: > > > if [catch {exec sh ulimit -v} ulimit_v] { > > expect1.1> exec sh ulimit -v > sh: ulimit: No such file or directory > while executing > "exec sh ulimit -v"
Perhaps if [catch {exec sh -c ulimit -v} ulimit_v] { Jakub