Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ease-dev] Script shell prints [null] on no result

The tricky thing from my point of view is that our script engines for Rhino
and Jython do not provide different return values for 'void' and 'null' on
their execute methods. While I do want to see a null result eg when calling

Object getService(..)

on the output, I do not want to see it on

void print(...)

However our script engines do not show any difference in their execution
result. Not sure how we can handle this so far.

Ideas are welcome
Christian

> -----Original Message-----
> From: ease-dev-bounces@xxxxxxxxxxx [mailto:ease-dev-
> bounces@xxxxxxxxxxx] On Behalf Of Jonah Graham
> Sent: Friday, May 13, 2016 1:24 PM
> To: ease developer discussions
> Subject: [ease-dev] Script shell prints [null] on no result
> 
> Christian and I have been having a discussion about the behaviour of the
> shell, specifically when no output (signified by Python None / Javascript
null)
> is received from the command.
> 
> We have been looking at how different tools deal with the output from the
> shell and how to indicate a command is still running.
> 
> I invite you to comment, either here on the mailing list, or on the bug:
> 
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=493521
> 
> Thanks!
> Jonah
> 
> 
> ~~~
> Jonah Graham
> Kichwa Coders Ltd.
> www.kichwacoders.com
> _______________________________________________
> ease-dev mailing list
> ease-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit https://dev.eclipse.org/mailman/listinfo/ease-dev

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Back to the top