<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/106111>106111</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [llvm-lit] FileNotFoundError in lit internal shell
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
            Harini0924
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          Harini0924
      </td>
    </tr>
</table>

<pre>
    When using the internal shell with this command `LIT_USE_INTERNAL_SHELL=1` an  `FileNotFoundError` is displayed.
Error displayed:
```
File "/usr/local/google/home/harinidonthula/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 656, in processRedirects
    fd = open(redir_filename, mode)
 ^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: b'/usr/local/google/home/harinidonthula/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-i386/Linux/(llvm-profdata'
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysU1tv6ygQ_jX4ZZQIY5vYD35om1itFEWrtqt9jLAh8awwWFzazb9f4eY0pz2P50gI5sbMNzfhPZ6NUi2p7gljj8KhQdqwkjBGqm0mYhita2_yrLfy0v4zKgPRozlDGBWgCcoZocGPSmt4xzBCGNHDYKdJGAmE0_3T6_Hvl93x6fC6ez7c7Y8vj7v9nhTbnHAKwkAy6lCrgw2djUbunLMu6dCDRD9rcVFyTeiW0LtFd5OS4u5DTji9noVN7iBlwrroHWGdtoPQhHVna89aEdaNdlqeJT9pTRijFslQv02r2dl_1RCubHISUPvEYvi8X5UPz9EY5dbzZYn1ABqNAl7xRKOB2dlBef-sJDo1BP8BDgDgJIEUW7CzMoTVLhkcT6iVEQnWA0xWKsKa6wdS7f7k-SzR14oXKdD9zjljIc0AHCz4OIyQgMFS9pSFdZdk2hO2-e3y9hG1JKxz0QSclP-JXPVoEj_YaUat3MqlD0H59MzOJlCEdX99UCssak5Yt0cT_yOsI6z-EeokRRAJ7NdByWRbyKZoRKbafMNK3lRlU2ZjW7HNaTNwzvOqr2XVnHhZD4XgA-sHLjdlhi2jrKQ143lNy7JeS17mrNycqGpoTtmGlFRNAvU6QVhbd87Q-6janPI8zzMteqX9dfGMeodFe9071y64-3j2pKQaffA3NwGDXjZ2sUljWG3hl0amydMYvi1nFp1uxxBmn5YmVag7Yxhjvx7sdJv0bw1aoKU2XLG_tez_AAAA__9PZVAq">