We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In "fat" go this code
package main import ( "os" "os/exec" "strings" ) func main() { cmd := exec.Command("su", "-c", "id") cmd.Stdin = strings.NewReader("toor") cmd.Stdout = os.Stdout cmd.Run() }
works correctly and print uid=0(root) gid=0(root) groups=0(root). But in tinygo this code print nothing. Why?
uid=0(root) gid=0(root) groups=0(root)
The text was updated successfully, but these errors were encountered:
Because exec is not yet supported in tinygo.
Sorry, something went wrong.
@dankegel oh, okay.
Reference:
No branches or pull requests
In "fat" go this code
works correctly and print
uid=0(root) gid=0(root) groups=0(root)
. But in tinygo this code print nothing. Why?The text was updated successfully, but these errors were encountered: