#Get output of previous command using spring shell

3 messages · Page 1 of 1 (latest)

timid crater
#

Need help!
how to read output of previous command in spring shell like

$ cat hi.txt
cat: hi.txt: No such file or directory
$ javac hello.java
hello.java:3: error: non-static method hi() cannot be referenced from a static context
hi();
^
1 error
$ cmdzen solve

now here i want to read the output of the previous command output i.e error cat: hi.txt: No such file or dir and access output or java error in my spring shell application (cmdzen) to show solution or steps to solve the solution

shrewd pilotBOT
#

This post has been reserved for your question.

Hey @timid crater! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.