deepin-terminal: Failed to execute child process [on hold]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
1
down vote

favorite












I have written a simple script as below to run deepin-terminal and pass it a simple command but when I execute this script I get error.



Script:



#!/bin/bash

deepin-terminal -m fullscreen -e "cmatrix | lolcat"


Error:



Failed to execute child process “cmatrix | lolcat” (No such file or 
directory)


If I just pass cmatrix command it works but it does not work with cmatrix | lolcat







share|improve this question













put on hold as off-topic by Kusalananda, Thomas, schily, Jesse_b, slm♦ 21 hours ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question has been posted on multiple sites. Cross-posting is strongly discouraged; see the help center and community FAQ for more information." – Kusalananda, Thomas, schily, Jesse_b, slm








  • 1




    Don't cross post, please. askubuntu.com/questions/1062411/…
    – Kusalananda
    yesterday
















up vote
1
down vote

favorite












I have written a simple script as below to run deepin-terminal and pass it a simple command but when I execute this script I get error.



Script:



#!/bin/bash

deepin-terminal -m fullscreen -e "cmatrix | lolcat"


Error:



Failed to execute child process “cmatrix | lolcat” (No such file or 
directory)


If I just pass cmatrix command it works but it does not work with cmatrix | lolcat







share|improve this question













put on hold as off-topic by Kusalananda, Thomas, schily, Jesse_b, slm♦ 21 hours ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question has been posted on multiple sites. Cross-posting is strongly discouraged; see the help center and community FAQ for more information." – Kusalananda, Thomas, schily, Jesse_b, slm








  • 1




    Don't cross post, please. askubuntu.com/questions/1062411/…
    – Kusalananda
    yesterday












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I have written a simple script as below to run deepin-terminal and pass it a simple command but when I execute this script I get error.



Script:



#!/bin/bash

deepin-terminal -m fullscreen -e "cmatrix | lolcat"


Error:



Failed to execute child process “cmatrix | lolcat” (No such file or 
directory)


If I just pass cmatrix command it works but it does not work with cmatrix | lolcat







share|improve this question













I have written a simple script as below to run deepin-terminal and pass it a simple command but when I execute this script I get error.



Script:



#!/bin/bash

deepin-terminal -m fullscreen -e "cmatrix | lolcat"


Error:



Failed to execute child process “cmatrix | lolcat” (No such file or 
directory)


If I just pass cmatrix command it works but it does not work with cmatrix | lolcat









share|improve this question












share|improve this question




share|improve this question








edited yesterday









Kusalananda

100k13199311




100k13199311









asked yesterday









Miladdarren

234




234




put on hold as off-topic by Kusalananda, Thomas, schily, Jesse_b, slm♦ 21 hours ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question has been posted on multiple sites. Cross-posting is strongly discouraged; see the help center and community FAQ for more information." – Kusalananda, Thomas, schily, Jesse_b, slm




put on hold as off-topic by Kusalananda, Thomas, schily, Jesse_b, slm♦ 21 hours ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question has been posted on multiple sites. Cross-posting is strongly discouraged; see the help center and community FAQ for more information." – Kusalananda, Thomas, schily, Jesse_b, slm







  • 1




    Don't cross post, please. askubuntu.com/questions/1062411/…
    – Kusalananda
    yesterday












  • 1




    Don't cross post, please. askubuntu.com/questions/1062411/…
    – Kusalananda
    yesterday







1




1




Don't cross post, please. askubuntu.com/questions/1062411/…
– Kusalananda
yesterday




Don't cross post, please. askubuntu.com/questions/1062411/…
– Kusalananda
yesterday










1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










The -e option for deepin-terminal, as for most terminal emulators, takes a simple command. A pipeline is not a simple command.



The error comes from the terminal trying to execute a command with the literal name cmatrix | lolcat (including spaces and pipe symbol).



Instead, use



deepin-terminal -m fullscreen -e sh -c "cmatrix | lolcat"


This would execute sh with an in-line script, which runs your pipeline.






share|improve this answer























  • Thanks it solved the problem but deepin terminal is not running in fullscreen mode anymore. What about that?
    – Miladdarren
    yesterday






  • 1




    @Miladdarren I'm not familiar with deepin-terminal in particular, so I can't really say anything about why it would ignore -m fullscreen when combined with -e.
    – Kusalananda
    yesterday

















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote



accepted










The -e option for deepin-terminal, as for most terminal emulators, takes a simple command. A pipeline is not a simple command.



The error comes from the terminal trying to execute a command with the literal name cmatrix | lolcat (including spaces and pipe symbol).



Instead, use



deepin-terminal -m fullscreen -e sh -c "cmatrix | lolcat"


This would execute sh with an in-line script, which runs your pipeline.






share|improve this answer























  • Thanks it solved the problem but deepin terminal is not running in fullscreen mode anymore. What about that?
    – Miladdarren
    yesterday






  • 1




    @Miladdarren I'm not familiar with deepin-terminal in particular, so I can't really say anything about why it would ignore -m fullscreen when combined with -e.
    – Kusalananda
    yesterday














up vote
1
down vote



accepted










The -e option for deepin-terminal, as for most terminal emulators, takes a simple command. A pipeline is not a simple command.



The error comes from the terminal trying to execute a command with the literal name cmatrix | lolcat (including spaces and pipe symbol).



Instead, use



deepin-terminal -m fullscreen -e sh -c "cmatrix | lolcat"


This would execute sh with an in-line script, which runs your pipeline.






share|improve this answer























  • Thanks it solved the problem but deepin terminal is not running in fullscreen mode anymore. What about that?
    – Miladdarren
    yesterday






  • 1




    @Miladdarren I'm not familiar with deepin-terminal in particular, so I can't really say anything about why it would ignore -m fullscreen when combined with -e.
    – Kusalananda
    yesterday












up vote
1
down vote



accepted







up vote
1
down vote



accepted






The -e option for deepin-terminal, as for most terminal emulators, takes a simple command. A pipeline is not a simple command.



The error comes from the terminal trying to execute a command with the literal name cmatrix | lolcat (including spaces and pipe symbol).



Instead, use



deepin-terminal -m fullscreen -e sh -c "cmatrix | lolcat"


This would execute sh with an in-line script, which runs your pipeline.






share|improve this answer















The -e option for deepin-terminal, as for most terminal emulators, takes a simple command. A pipeline is not a simple command.



The error comes from the terminal trying to execute a command with the literal name cmatrix | lolcat (including spaces and pipe symbol).



Instead, use



deepin-terminal -m fullscreen -e sh -c "cmatrix | lolcat"


This would execute sh with an in-line script, which runs your pipeline.







share|improve this answer















share|improve this answer



share|improve this answer








edited yesterday


























answered yesterday









Kusalananda

100k13199311




100k13199311











  • Thanks it solved the problem but deepin terminal is not running in fullscreen mode anymore. What about that?
    – Miladdarren
    yesterday






  • 1




    @Miladdarren I'm not familiar with deepin-terminal in particular, so I can't really say anything about why it would ignore -m fullscreen when combined with -e.
    – Kusalananda
    yesterday
















  • Thanks it solved the problem but deepin terminal is not running in fullscreen mode anymore. What about that?
    – Miladdarren
    yesterday






  • 1




    @Miladdarren I'm not familiar with deepin-terminal in particular, so I can't really say anything about why it would ignore -m fullscreen when combined with -e.
    – Kusalananda
    yesterday















Thanks it solved the problem but deepin terminal is not running in fullscreen mode anymore. What about that?
– Miladdarren
yesterday




Thanks it solved the problem but deepin terminal is not running in fullscreen mode anymore. What about that?
– Miladdarren
yesterday




1




1




@Miladdarren I'm not familiar with deepin-terminal in particular, so I can't really say anything about why it would ignore -m fullscreen when combined with -e.
– Kusalananda
yesterday




@Miladdarren I'm not familiar with deepin-terminal in particular, so I can't really say anything about why it would ignore -m fullscreen when combined with -e.
– Kusalananda
yesterday


Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?