# Christopher Davis > Christopher Davis Skip to content Christopher Davis ☰ Menu About Twitter LinkIn Github How to Test Code that Executes Subprocesses May 9, 2025 Christopher Davis I was writing some stuff that programmatically executed terraform via Hashicorp's terraform-exec library this week. This works by interacting with a terraform executable that you provide (along with a working directory) to the NewTerraform constructor. Here's the trick: when testing this code it does not need to interact with the real executable. Location: Global ## Categories - Other Businesses & Services ## Documents - [Business profile](https://directory.websdocs.com/business/christopher-davis) - [Directory JSON](https://directory.websdocs.com/business/christopher-davis.json) - [Schema.org JSON-LD](https://directory.websdocs.com/business/christopher-davis/schema.jsonld) - [Directory sitemap](https://directory.websdocs.com/sitemap.xml) - [Directory discovery manifest](https://directory.websdocs.com/.well-known/asg-directory.json) - [Directory OpenAPI](https://directory.websdocs.com/api/openapi.json) - [Official website](https://chrisguitarguy.com/)