deepin-terminal: Failed to execute child process [on hold]
Clash 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
shell-script scripting terminal command deepin
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
add a comment |Â
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
shell-script scripting terminal command deepin
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
add a comment |Â
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
shell-script scripting terminal command deepin
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
shell-script scripting terminal command deepin
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
add a comment |Â
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
add a comment |Â
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.
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 withdeepin-terminal
in particular, so I can't really say anything about why it would ignore-m fullscreen
when combined with-e
.
â Kusalananda
yesterday
add a comment |Â
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.
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 withdeepin-terminal
in particular, so I can't really say anything about why it would ignore-m fullscreen
when combined with-e
.
â Kusalananda
yesterday
add a comment |Â
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.
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 withdeepin-terminal
in particular, so I can't really say anything about why it would ignore-m fullscreen
when combined with-e
.
â Kusalananda
yesterday
add a comment |Â
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.
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.
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 withdeepin-terminal
in particular, so I can't really say anything about why it would ignore-m fullscreen
when combined with-e
.
â Kusalananda
yesterday
add a comment |Â
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 withdeepin-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
add a comment |Â
1
Don't cross post, please. askubuntu.com/questions/1062411/â¦
â Kusalananda
yesterday