0

Now I'm working on the command, Mafft.

This command's usage is like below.

mafft in > out

as you can see, command line contains redirection operator.

This command line on windows os, it works.
This command line on linux shell prompt input directly, it works.

But if I run it through java Runtime().getRuntime().exec("command string", null), it gives me nothing but errors below.

Unknown option: /home/test/msa.txt
Unknown option: >

Is there any way to use redirection operator in command line?

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.