Issue while executing the multi-layer commands on windows

The below is executing on windows:

C:\cygwin\bin\bash.exe  -c "echo abc; echo 1 ; c:/cygwin/bin/bash.exe -c "c:/cygwin/bin/tcsh.exe echo def; pwd "  "

Running the above command, and getting the output as:

abc
1
[PPP@machine1 ...Users/PPP]$ 

Desired Output:

 abc
 1
 def
 C:\Users\PPP 

In all, I want the commands under tcsh to also work (In above command, it is "echo def; pwd"). How can I have the progress on it?



Comments

Popular posts from this blog

Today Walkin 14th-Sept

Spring Elasticsearch Operations

Hibernate Search - Elasticsearch with JSON manipulation