gforth
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gforth] "-e bye" not working with a program


From: Marcos Cruz
Subject: [gforth] "-e bye" not working with a program
Date: Sun, 10 Nov 2013 14:29:17 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

I run Gforth 0.7.2 on Raspbian.

I tried 'gforth myprogram.fs -e bye' but the program doesn't exit after
execution, it stays in interactive mode. 

'gforth myprogram.fs -e blablabla' gives no error either. The program
does its job and then stays in interactive mode.

This program of mine includes several layers of libraries and involves
file manipulation and custom parsing. I thought this may have something
to do.  In fact the "-e bye" option works fine with simpler programs
that use no libraries, but I have not investigated deeper yet.

I want the program to quit in order to benchmark it from the system
under certain conditions:

        time gforth myprogram.fs -e bye

Any clue why "-e bye" fails?

Thank you.

-- 
Marcos Cruz
http://programandala.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]