Calling programs on Windows 10
I have this set of programs I run every year that extract data out of spreadsheets and does stuff with it. The programs are on a network drive, the REBOL interpreter is on a network drive, and I run the programs by running DOS batch files on a network drive. In other words, many people can use these programs because they are located in a common location, that network drive.
A REBOL program gets data from a spreadsheet by calling a powershell script. The powershell script gets the data out of the spreadsheet and saves it as a csv file, and then the REBOL program continues and processes the csv file. If I run the powershell script "by hand" as it were, it works.
In other words, I can run these programs in their various parts from any computer on our network.
So, the problem is, if I run them on a Windows 7 computer everything works, but if I run on a Windows 10 computer the call to the powershell script is not working somehow because the csv file expected from the powershell script does not appear.
Same programs, same REBOL interpreter, same everything, run the same way, works on Windows 7 but not on Windows 10.
I wonder if anyone might have any thoughts on the matter. There is no crisis because I can run the parts separately to get the job done, but it is annoying that I can't make it all work seamlessly.
posted by: Steven White 30-Nov-2018/16:09:45-8:00
> If I run on a Windows 10 computer the
> call to the powershell script is not
> working somehow because the csv file
> expected from the powershell script does
> not appear.
You should see just how much (if any) of the powershell script is running. Try it with a script that just echoes text.
If it turns out even the shortest possible powershell script isn't working, then that shows you one thing. But if it does work on that and it's something about your *particular* script, then you need to use process elimination to find out the smallest possible script with the problem.
The StackOverflow people emphasize the concept of a "Minimal, Complete, Verifiable Example", or MCVE:
posted by: Fork 30-Nov-2018/16:57:09-8:00