• Wincent
    Menu
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search

Add missing NULL in call to execve (gdiff, 3fd4457)

Created 9/27/2007, updated 3/5/2024
  • snippets

The execve call wasn't working because the envp array was empty rather than NULL terminated.

Signed-off-by: Greg Hurrell <greg@hurrell.net>

← Return success status from installer tool (gdiff, 5ecde66)
Use waitpid consistently in installer tool and parent application (gdiff, 6aa0212) →

All snippets

Site
  • About
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search
External
  • GitHub
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
Colophon

Made by Greg Hurrell with Rust (with help from Git and Neovim).