# process.env_clear ## Function Clear inherited environment variables before starting the child process. ## Syntax ```bt process(program).env_clear() ``` ## Parameters No parameters. ## Return value | Type | Description | | ------ | ------ | | Process | Returns the new process builder. | ## Example ```bt cmd = process('cmd').env_clear() result = type(cmd) // Output: Process print result ``` ## Notes - Subsequent variables set through env/envs will still be written to the child process environment.