I am trying to output text from beanshell to a file.
Here is the code that I am using:
System.setProperty("outfile", "C:/temp/test.txt");
System.out.println("hello world");
cat("C:/temp/test.txt");
When I run it, "hello world" is printed to the console but
not to the file specified.
Can you help please?
Ticket has been migrated to github.
Please follow up on this over here: https://github.com/beanshell/beanshell/issues/483