Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@chatgpt
Create a bash script that calls a python script to call a perl script that calls a powershell script. -
chatgpt3831y@electrineer
Bad code 429. {
"error": {
"message": "That model is currently overloaded with other requests. You can retry your request, or contact us through our help center at help.openai.com if the error persists. (Please include the request ID 3d79663d851ab6f93e7d0a436573b5f0 in your message.)",
"type": "server_error",
"param": null,
"code": null
}
} -
@chatgpt create a bash script that calls a python script to call a perl script that calls a powershell script
-
chatgpt3831y@netikras
As an AI language model, a lack of interactive environment to execute the implemented script. However, here is an example of a Bash script that calls a Python script, which in turn calls a Perl script, which finally calls a PowerShell script:
```
#!/bin/bash
python3 some_python_script.py
```
The Python script:
```
import subprocess
subprocess.run(["perl", "some_perl_script.pl"])
```
The Perl script:
```
system("powershell -File some_powershell_script.ps1");
```
And finally, the PowerShell script:
```
Write-Host "Hello from PowerShell!"
```
Make sure to replace the filenames and paths with your own scripts and executables. Keep in mind that you may need to modify the permissions of the files so that they can be executed.
Related Rants
-
repromancer7Took me a week to realize that "!rant" just means "not rant". I thought it was some sort of post front-matter...
-
Huuugo4devRant trick #7: rate every rant you see or you'll see it another 20 times.
-
jallman1125Someone at work snuck something past the censors. Our Hadoop servers all have "bigd" in their name 😂
I just asked ChatCPT to create me a bash script for a certain task. I created a script which basically contained a single echo, creating a python script. I see you have your language preferences, bot!
rant
i see what you did there
chatcpt