ShellExecute and pythonScript parameters

Why the following ALF code doesn't hand these parameters over to the python script? Symbol, Exchange, SecType, Currency, LmtPrice, filePath

    filePath = "D:\\adjusted_price.txt";
    pythonScript = "D:\\adjust_lmt_price.py";
    
    command = StrFormat("\"%s\" \"%s\" \"%s\" \"%s\" \"%s\" %.4f \"%s\"", pythonScript, Symbol, Exchange, SecType, Currency, LmtPrice, filePath);
    ShellExecute(command, "", "", 0);

You have to use executable (python.exe) in your call.

Require guidance with ShellExecute() - AFL Programming - AmiBroker Community Forum
see this

The correct code is below. Is there a way to directly hand back the result of the python script to AFL? Without creating the adjusted_price.txt and read it by AFL.

 filePath = "D:\\adjusted_price.txt";
    pythonScript = "D:\\adjust_lmt_price.py";
    
    command = StrFormat("\"%s\" \"%s\" \"%s\" \"%s\" \"%s\" %.4f \"%s\"", pythonScript, Symbol, Exchange, SecType, Currency, LmtPrice, filePath);
  ShellExecute("python.exe", command, "", 0);

Then you better have a look at this