Killing SML process

View: New views
2 Messages — Rating Filter:   Alert me  

Killing SML process

by 00jt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am using an sml program that i think was partly written wrong.

Even when this program compleets "successfully" it ends with:
---------------

!* unable to process `C:\Documents\HATS_Engine_2.00\Paradigm_Domain_3_22_09\..\Paradigm_Domain_2009_4_3_newGUI\00_input\multiPurposeCompiler_01.tlp.parsed' (unknown extension `parsed'
>

---------------

Then it waits for more sml output....
The problem is that i am running this program from a GUI that i developed. Since this program does not "terminate". My GUI just hangs waiting for the end of the OutputStream and ErrorStreams.

anyway...

My main question is if i am at the command line and i start an sml program, what do i do to exit back to the command line?

-----------------
C:/ sml
>Beginning sml
>
> (insert kill code)

C:/
-----------------

If that makes sense?

Re: Killing SML process

by John Reppy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

OS.Process.exit will terminate the SML process.

        - John

On Apr 19, 2009, at 12:56 PM, 00jt wrote:

>
> I am using an sml program that i think was partly written wrong.
>
> Even when this program compleets "successfully" it ends with:
> ---------------
>
> !* unable to process
> `C:\Documents\HATS_Engine_2.00\Paradigm_Domain_3_22_09\..
> \Paradigm_Domain_2009_4_3_newGUI\00_input
> \multiPurposeCompiler_01.tlp.parsed'
> (unknown extension `parsed'
>>
>
> ---------------
>
> Then it waits for more sml output....
> The problem is that i am running this program from a GUI that i  
> developed.
> Since this program does not "terminate". My GUI just hangs waiting  
> for the
> end of the OutputStream and ErrorStreams.
>
> anyway...
>
> My main question is if i am at the command line and i start an sml  
> program,
> what do i do to exit back to the command line?
>
> -----------------
> C:/ sml
>> Beginning sml
>>
>> (insert kill code)
>
> C:/
> -----------------
>
> If that makes sense?
> --
> View this message in context: http://www.nabble.com/Killing-SML-process-tp23126750p23126750.html
> Sent from the SML/NJ mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> Smlnj-list mailing list
> Smlnj-list@...
> https://lists.sourceforge.net/lists/listinfo/smlnj-list
>


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Smlnj-list mailing list
Smlnj-list@...
https://lists.sourceforge.net/lists/listinfo/smlnj-list