[ 
https://issues.apache.org/jira/browse/SOLR-17717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17938887#comment-17938887
 ] 

Jan Høydahl commented on SOLR-17717:
------------------------------------

Also, the reason for this code being triggered is that in {{solr.cmd}} we 
actually use the [updated status 
tool|https://github.com/apache/solr/blob/main/solr/bin/solr.cmd#L1172] to check 
if solr has started, which in turn calls wmic.

I'm going to attempt a fix where we call out to {{powershell.exe}} instead.

> On starting solr in windows wmic file not found
> -----------------------------------------------
>
>                 Key: SOLR-17717
>                 URL: https://issues.apache.org/jira/browse/SOLR-17717
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCLI
>            Reporter: Gaurav Tuli
>            Assignee: Jan Høydahl
>            Priority: Major
>
>  Cannot run program "wmic": CreateProcess error=2, The system cannot find the 
> file specified



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to