Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ease-dev] Include js script from within python EASE

> Is there a way I can pass parameters to the second script? 

The fork command accepts string parameters:

	/**
	 * Fork a new script engine and execute provided resource.
	 *
	 * @param resource
	 *            resource to execute (path, URI or file instance)
	 * @param arguments
	 *            optional script arguments delimited by commas ','
	 * @param engineID
	 *            engine ID to be used
	 * @return execution result
	 */

This documentation is displayed as hover in the modules explorer view.

If you want to share java objects have a look at the methods
setSharedObject/getSharedObject

HTH
Christian



Back to the top