subsystemctl
subsystemctl copied to clipboard
error in command using subsystemctl exec bash
○ → /root/.cargo/bin/subsystemctl exec bash error: Found argument 'bash' which wasn't expected, or isn't valid in this context
USAGE:
subsystemctl exec [FLAGS] [OPTIONS] [--
For more information try --help
i am using Windows 11, the latest WSL2. the bash does not exist or invalid.
but all commands are working good in Windows 10 WSL2.
please check, thank you!
by the way, you did a great job for this code, thank you very much!
it is now both error in windows 10 and windows 11. Something has been modified 5 days ago, based on version. please re-check sir! thank you!
even the old version of v0.1.2 is getting errors
error: Found argument 'bash' which wasn't expected, or isn't valid in this context
USAGE:
subsystemctl exec [FLAGS] [OPTIONS] [--
For more information try --help
2021-10-09 08:30:21 ⌚ LAPTOP-IGNCEA4K in /mnt/c/Users/nokie ○ →
error in centos
For more information try --help [root@LAPTOP-IGNCEA4K nokie]# subsystemctl shell --start machinectl: unrecognized option '--uid' [root@LAPTOP-IGNCEA4K nokie]# subsystemctl shell --start -u id 1000 error: Found argument '1000' which wasn't expected, or isn't valid in this context
USAGE:
subsystemctl shell --start --uid
For more information try --help