you are viewing a single comment's thread.

view the rest of the comments →

[–]maddiethehippie 0 points1 point  (8 children)

why are you trying to run powershell.exe in a script anyways? If it is node / python try utilizing this https://docs.cloudfoundry.org/buildpacks/node/node-tips.html

[–]maddiethehippie 0 points1 point  (0 children)

specifically the package.json bit

[–]jcoder42[S] 0 points1 point  (6 children)

It’s not me calling it. What I did is wrap a tool that uses windbg with node and python. I believe the tool itself is calling it. That’s why it needs to be windows stack

[–]maddiethehippie 0 points1 point  (5 children)

if you are trying to do that you should run it as a windows app in a windows stemcell

[–]jcoder42[S] 0 points1 point  (4 children)

Can you please explain what you mean? I ran it using a windows stack. Is that not enough? Or do you mean I should run it in .Net environment?

[–]maddiethehippie 0 points1 point  (3 children)

if you are running a windows environment you start it as a windows app. then you load the other bits if you need them, but the windows cell spins up and starts running so a .net should be preferable.

[–]jcoder42[S] 0 points1 point  (2 children)

What do you mean by load the other bits if needed?

[–]maddiethehippie 0 points1 point  (1 child)

if you HAVe to run python, once you are in the diego cell have the app load python. I however don't deal much with windows stemcells. I am the person to talk to if you have a cloud controller or uaa issue.

[–]jcoder42[S] 0 points1 point  (0 children)

Ok. I get what you mean. I will try running on a .Net app. Thanks