Skip to main content
Chris WarrickChris Warrick
  • Contact
  • Projects
  • Guides
  • Archives
  • Tags

Posts about Unix

📣 RSS Feed

Spawning subprocesses smartly and securely

02 September 2017 20:40
  • Programming
  • best practices
  • C
  • devel
  • guide
  • Linux
  • Python
  • security
  • subprocess
  • Unix

A guide about spawning subprocesses for Unix/Linux (and partially Windows)

As part of your code, you may be inclined to call a command to do something. But is it always a good idea? How to do it safely? What happens behind the scenes?

Read more…

Unix locales vs Unicode (‘ascii’ codec can’t encode character…)

18 June 2017 20:40
  • Programming
  • guide
  • locale
  • Python
  • Unicode
  • Unix

A guide about Locale support/Unicode for Unix (Linux, macOS, etc.)

You might get unusual errors about Unicode and inability to convert to ASCII. Programs might just crash at random. Those are often simple to fix — all you need is correct locale configuration.

Read more…
Blog
  • Archives
  • Tags
  • Listings
  • RSS Feed
Projects and Work
  • Projects
  • Guides
  • KwBot
  • Posts about Python
Me
  • Contact
  • Brand
  • Twitter
  • GitHub

this site uses cookies.
by using this site, you agree to our cookie and privacy policy.

powered by Yet Another Blog Generator, nginx and Hetzner Cloud
copyright © 2009–2026 Chris Warrick
license: CC BY-NC-SA, unless stated otherwise