[Scilab-users] jinvoke + new ProcessBuilder(..) + evstr('1+1; ') => Scilab 6 crash
Michael Benguigui
michael.benguigui at activeeon.com
Wed Mar 8 09:48:32 CET 2017
Hi all (i udpated the mail title),
I managed to make a simpler program to reproduce the pb. Here it is
A java class:
public class MyEchoClass {
public static void execEcho () throws IOException {
ArrayList<String> cmd = new ArrayList<String>();
cmd.add("echo");
cmd.add("\"AAAA\"");
ProcessBuilder pb = new ProcessBuilder(cmd);
pb.start();
}
}
In Scilab:
jinvoke(MyEchoClass,'execEcho');
disp('before...');
evstr('1+1;');
disp('...after');
The result:
before...
[image: Images intégrées 1]
Regards
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20170308/ff8c06ac/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 20507 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20170308/ff8c06ac/attachment.png>
More information about the users
mailing list